Keep It Simple, Stupid | |
PerlMonks |
Re: Questions with sysopen (code)by Thelonius (Priest) |
on Sep 19, 2002 at 19:35 UTC ( [id://199272]=note: print w/replies, xml ) | Need Help?? |
The immediate problem is this line:
Perhaps you meant something like <PASSWD>? However, you should never do this: with an important file like passwd! What you do is write a new file that has the changes you want and then mv the new file over the old file.
In Section
Seekers of Perl Wisdom
|
|