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

Replies are listed 'Best First'.
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?
[stevieb]: 16.96 hours of runtime of a Raspberry Pi on a 12v, 7.2Ah battery :) Now to watch now long it takes to recharge the battery completely with my 18v solar cells in the sun :)
[stevieb]: my high-range estimate was 18 hours
[stevieb]: battery was at about 95% capacity when the test began
[stevieb]: in the meantime while it was on battery, I got my shift register issues fixed, as well as certain interrupt issues

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2017-03-26 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (315 votes). Check out past polls.