Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Using perl module if env is enabled

by Corion (Pope)
on Dec 09, 2019 at 15:19 UTC ( #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
Node Status?
node history
Node Type: note [id://11109880]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2021-01-28 05:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?