Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Help Changing use into require/import

by VinsWorldcom (Prior)
on Mar 07, 2018 at 20:59 UTC ( #1210479=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $HAVE_Capture_Tiny = 0;
    eval "use Capture::Tiny qw(capture)";
    ...
    } else {
       ## fallback if not have Capture::Tiny
    }
    
  2. or download this
    use strict;
    use warnings;
    ...
    } else {
        print "Module::Name = [NOT INSTALLED]\n";
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (1)
As of 2021-06-24 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (123 votes). Check out past polls.

    Notices?