Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Help Changing use into require/import

by VinsWorldcom (Prior)
on Mar 07, 2018 at 20:59 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1210479]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2024-04-23 14:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found