laziness, impatience, and hubris | |
PerlMonks |
Re: Questions with sysopen (code)by Zaxo (Archbishop) |
on Sep 19, 2002 at 19:32 UTC ( [id://199270]=note: print w/replies, xml ) | Need Help?? |
That is a cumbersome way to do it. Have your friend look at getpwent, setpwent and friends. User::pwent is in the standard distribution, and preferred to the core functions. That said, is it a typo in line 16 that PASSWD lacks the diamond operator? The symptoms you describe suggest that reading fails, unchecked, followed by truncate. That is reckless. After Compline,
In Section
Seekers of Perl Wisdom
|
|