wsanders has asked for the wisdom of the Perl Monks concerning the following question:
I would expect cuserid to return "adudaren" no matter how I call it, it's getlogin() that returns the name of the user associated with the controlling terminal (the original logger-inner.) What's the difference between 1 and 2? Thanks, -w (there, that's better)1) perl -e 'use POSIX; print cuserid' wsanders 2) perl -e 'print POSIX::cuserid' adudaren
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Diff between 'print POSIX::cuserid' and 'use POSIX; print cuserid'
by linuxer (Curate) on Jan 08, 2013 at 00:10 UTC | |
by wsanders (Novice) on Jan 08, 2013 at 21:10 UTC | |
|
Re: Diff between 'print POSIX::cuserid' and 'use POSIX; print cuserid'
by choroba (Cardinal) on Jan 08, 2013 at 01:00 UTC | |
|
Re: Diff between 'print POSIX::cuserid' and 'use POSIX; print cuserid'
by LanX (Saint) on Jan 07, 2013 at 23:49 UTC |