|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: Conditionally faking a moduleby bobf (Monsignor) |
| on Jan 13, 2010 at 18:40 UTC ( #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
|
|
||||||||||||||||||||||||||||