laziness, impatience, and hubris | |
PerlMonks |
Re: Base script behavior on presence (or non-) of a moduleby flexvault (Monsignor) |
on Dec 21, 2011 at 15:56 UTC ( [id://944653]=note: print w/replies, xml ) | Need Help?? |
I just did this, and the "how to" was in the "Perl Cookbook" on pages 451-452. I recommend you take a look at the description, but the explanation is to but the test in a BEGIN block: I hope I typed it correctly, as the book explains why it has to be exactly this way. Good Luck "Well done is better than well said." - Benjamin Franklin
In Section
Seekers of Perl Wisdom
|
|