XP is just a number | |
PerlMonks |
Re: in place editing by variablesby reisinge (Hermit) |
on Apr 11, 2013 at 18:54 UTC ( [id://1028205]=note: print w/replies, xml ) | Need Help?? |
I agree with hdb that it's safer (and easier) to use modules. Also consider using usermod --shell <new_shell> system command, on Linux, at least. One way to replace the shell manually:
Update: using explicit variable $line instead of default variable $_ for better readability. Well done is better than well said. -- Benjamin Franklin
In Section
Seekers of Perl Wisdom
|
|