See perldoc getpwent
That will avoid messing directly with /etc/passwd. It is portable across platforms and works with shadow and other variants.
After Compline,
Zaxo
In reply to Re: SCALAR output instead of attribute name.
by Zaxo
in thread SCALAR output instead of attribute name.
by sschneid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |