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

Re^11: replicating the command 'unset LIBPATH' in perl

by viffer (Beadle)
on May 20, 2010 at 00:32 UTC ( [id://840836]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        "unless( $ENV{+ __FILE__ } eq __FILE__ ){"
    
  2. or download this
    BEGIN {
        unless( $ENV{ +__FILE__ } eq __FILE__ ){
    ...
            exec $^X, __FILE__, @ARGV; 
       }
    }
    
  3. or download this
    BEGIN {
        if (exists $ENV{LIBPATH}) {
    ...
            exec $^X, __FILE__, @ARGV;
        }
    }
    
  4. or download this
        "unless( $ENV{+ __FILE__ } eq __FILE__ ){"
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-19 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found