Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Why "getlogin" not works in this case?

by bdimych (Monk)
on Jan 22, 2008 at 15:52 UTC ( [id://663609]=note: print w/replies, xml ) Need Help??


in reply to Re: Why "getlogin" not works in this case?
in thread Why "getlogin" not works in this case?

sh -c "/usr/bin/time perl -e '$|=1; print getlogin(), chr(10)' + - prints username sh -c "/usr/bin/time perl -e '$|=1; print getlogin(), chr(10)' & wait" + - prints nothing - that is sh -c "/usr/bin/time perl -e '$|=1; print \$ENV{USER}, chr(10)' & wait +" - prints username

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://663609]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-19 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found