Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Using perl module if env is enabled

by Corion (Patriarch)
on Dec 09, 2019 at 15:19 UTC ( [id://11109880]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    BEGIN {
        if( $ENV{USE_XYZ}) {
    ...
            Foo::Bar->import();
        }
    }
    
  2. or download this
    use if $ENV{USE_XYZ}, 'Foo::Bar';
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-23 18:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found