in reply to Questions with sysopen (code)
Perhaps you meant something like <PASSWD>?foreach my $readLine (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.truncate (PASSWD, 0);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Questions with sysopen (code)
by RMGir (Prior) on Sep 19, 2002 at 19:38 UTC |