in reply to Determining real name from login name
$pw = new Unix::PasswdFile "/etc/passwd";
my $realname = $pw->gecos("toto");
And then you move to a system using NIS/YP or LDAP and wonder why your script breaks . . . . getpwuid() and friends work just fine and are core; no need for an extra module.
PerlMonks, of course - how could you ask?
Games & puzzles
Arts & music
Whichever pays my bills
Results (265 votes). Check out past polls.