Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: How do I test if my PERL script was run using a login vs a non-login shell

by Anonymous Monk
on May 23, 2012 at 06:04 UTC ( #971956=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How do I test if my Perl script was run using a login vs a non-login shell
in thread How do I test if my Perl script was run using a login vs a non-login shell

Unless when PERL is called it runs under a shell itself and I can make the decision based on the shell PERL runs under.

This is somewhat off the topic, but could you please stop shouting the language's name every time you use it?


Comment on Re^3: How do I test if my PERL script was run using a login vs a non-login shell
Re^4: How do I test if my PERL script was run using a login vs a non-login shell
by paulski82 (Novice) on May 23, 2012 at 08:07 UTC
    I have updated the thread so that this is no longer the case.
      Thank you. I did not expect such a response -- correcting future use would have been enough.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2014-11-23 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls