Perl: the Markov chain saw | |
PerlMonks |
Re^2: Diff between 'print POSIX::cuserid' and 'use POSIX; print cuserid'by wsanders (Novice) |
on Jan 08, 2013 at 21:10 UTC ( [id://1012340]=note: print w/replies, xml ) | Need Help?? |
Thanks, yes, so in #2 POSIX isn't loaded, so perl -e 'print POSIX::cuserid' should return nothing, actually. That's the answer. There is something odd about this user's environment that is causing it to print his username. In *my* environment, and root's, it behaves the way it is supposed to. Not going to investigate further.
In Section
Seekers of Perl Wisdom
|
|