Think about Loose Coupling | |
PerlMonks |
about LOGNAMEby Luca Benini (Scribe) |
on Dec 02, 2004 at 07:22 UTC ( [id://411673]=note: print w/replies, xml ) | Need Help?? |
$ENV{LOGNAME} is setted at login time, so if someone log in as popeye and the do
su his $ENV{LOGNAME} is again popeye. But if popoye do su - his $ENV{LOGNAME} is again popeye.
In Section
Seekers of Perl Wisdom
|
|