Think about Loose Coupling | |
PerlMonks |
(dkubb) Re: (2) Parsing the /etc/passwd fileby dkubb (Deacon) |
on Feb 19, 2001 at 07:24 UTC ( [id://59337]=note: print w/replies, xml ) | Need Help?? |
There is an easier way to do what you want, using a CPAN module called Unix::PasswdFile:
This will create the %users hash without you needing to worry about the structure of the /etc/passwd file.
In Section
Seekers of Perl Wisdom
|
|