Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you conditionally "use" a library? ie; I may or may not exist!

Status
Not open for further replies.

NeilFawcett

Programmer
Mar 19, 2004
30
0
0
GB
I either want to put a condition around a "use" statement, or not crash if it's not found.

ie: If I have the coding:-
use Net::SMTP;

And that library does not exist I want to be able to condition it, or just not crash...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top