Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: using 'use' conditionally

by Anonymous Monk
on Nov 05, 2002 at 10:34 UTC ( [id://210424]=note: print w/replies, xml ) Need Help??


in reply to using 'use' conditionally

Have a look in the Perl Cookbook : "Recipe 12.2 Trapping Errors in require or use". It propose to trap problems with require using eval. It also says to do it in a BEGIN block (compile time versus run time).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-24 15:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found