Perl-Sensitive Sunglasses | |
PerlMonks |
USE, but fail nicelyby vaevictus (Pilgrim) |
on Feb 01, 2001 at 04:17 UTC ( [id://55611]=perlquestion: print w/replies, xml ) | Need Help?? |
vaevictus has asked for the wisdom of the Perl Monks concerning the following question:
I've got a module i want to load, if available, but if it's not available, I want absolutely nothing to happen.
I was told to use eval:
fails with Use of uninitialized value in eval "string" at ./test.pl line 3. How am I *supposed* to do this?
Back to
Seekers of Perl Wisdom
|
|