Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by bdimych (Monk)
on Jan 22, 2008 at 15:52 UTC ( #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? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2023-09-27 08:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?