Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Using perl module if env is enabled

by tobyink (Canon)
on Dec 09, 2019 at 16:07 UTC ( #11109883=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use constant HAVE_XYZ => !!$ENV{USE_XYZ};
    use if HAVE_XYZ, 'XYZ';
    ...
    if ( HAVE_XYZ ) {
        XYZ::foo(...)
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2020-09-21 14:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (126 votes). Check out past polls.

    Notices?