Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Conditionally faking a moduleby bobf (Monsignor) |
on Jan 13, 2010 at 18:40 UTC ( [id://817255]=note: print w/replies, xml ) | Need Help?? |
If you want to run some code if a module isn't installed, just test the use statement for failure:
Super Search will find several threads on this topic, including Auto install of a perl package if 'use' statement fails.
In Section
Seekers of Perl Wisdom
|
|