Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: getpwnam(@_) ???

by Fletch (Chancellor)
on Mar 31, 2011 at 18:21 UTC ( #896693=note: print w/replies, xml ) Need Help??


in reply to getpwnam(@_) ???

getpwnam imposes scalar context on its argument.

$ perl -le 'print prototype q{CORE::getpwnam}' $

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.
The cake is a lie.
The cake is a lie.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://896693]
help
Chatterbox?
[Tanktalus]: great, now I'm going to have to convert html codes to text for display... :)
[choroba]: Can you steal the code from pm-cb-g?

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2017-09-25 21:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (291 votes). Check out past polls.

    Notices?