Wrap the "use" statement in a call to "eval" and then examine $@ for errors and take appropriate action.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: use statement in a conditional?
by davorg
in thread use statement in a conditional?
by mangetsu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |