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

Re: Determining if a program was run from a command prompt.

by Albannach (Prior)
on Apr 12, 2006 at 15:10 UTC ( #542854=note: print w/replies, xml ) Need Help??


in reply to Determining if a program was run from a command prompt.

While it's not totally foolproof (note the follow-ups), this works for me.

--
I'd like to be able to assign to an luser

  • Comment on Re: Determining if a program was run from a command prompt.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://542854]
help
Chatterbox?
[Lady_Aleena]: james28909, I use get_data in a subroutine called movies.
[Lady_Aleena]: james28909, I put it at the top of my scratchpad, if you want to look at it.
[Lady_Aleena]: I remember being pretty proud of that little sub when I wrote it.
[james28909]: oh xD

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2017-05-24 04:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?