|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: getpwnam(@_) ???by Fletch (Chancellor) |
| on Mar 31, 2011 at 18:21 UTC ( #896693=note: print w/ replies, xml ) | Need Help?? |
|
getpwnam imposes scalar context on its argument.
That means that @_ is treated as the number of elements g1 was called with and I doubt you have a user named "1" on your system.
The cake is a lie.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||