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

Re: Using perl module if env is enabled

by tobyink (Canon)
on Dec 09, 2019 at 15:20 UTC ( [id://11109881]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    BEGIN {
      if ($ENV{USE_XYZ} == 1) {
    ...
        XYZ->import();
      }
    }
    
  2. or download this
    use if $ENV{USE_XYZ}, "XYZ";
    

Log In?
Username:
Password:

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

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

    No recent polls found