XP is just a number | |
PerlMonks |
Re: Checking to see if a particular Module is installedby jimt (Chaplain) |
on Aug 11, 2000 at 21:58 UTC ( [id://27559]=note: print w/replies, xml ) | Need Help?? |
My approach has always been:
Or something along those lines. Almost indistinguishable from the previous posts, admittedly, but I always try to be careful to wrap it up in BEGIN blocks. That way you're sure that the import is actually done at compile time instead of run time and it's virtually indistinguishable from an actual use. So you don't need to worry about functions not be prototyped or whatnot.
In Section
Seekers of Perl Wisdom
|
|