Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Don't ask to ask, just ask
 
PerlMonks  

Re: accessing an environment variable dynamically

by BrowserUk (Pope)
on Jan 01, 2013 at 20:49 UTC ( #1011182=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    system( q[ perl -E"exit 1;" ] ); print $? >> 8;;
    1
    ...
    
    system( q[ perl -E"exit 123;" ] ); print $? >> 8;;
    123
    
  2. or download this
    system( q[ perl -E"exit -123;" ] ); print $? >> 8;;
    133
    ...
    
    system( q[ perl -E"exit -129;" ] ); print $? >> 8;;
    127
    
  3. or download this
    system( q[ perl -E"exit -1;" ] ); print $? >> 8;;
    Can't spawn " perl -E"exit -1;" ": No error at (eval 26) line 1, <STDI
    +N> line 19.
    255
    
  4. or download this
    system( q[ perl -E"exit 12345;" ] ); print $? >> 8;;
    57
    
    system( q[ perl -E"exit 123456789;" ] ); print $? >> 8;;
    21
    

Log In?
Username:
Password:

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

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

    April first is:







    Results (480 votes), past polls