[Canberra-pm] how to tell if a library is available?

Kim Holburn kim at holburn.net
Sat Jun 14 01:15:38 PDT 2008


I have a script which could use a library (Text::Autoformat) if it's  
available in the current libs or if it's in the directory the script  
is in.  I'd like a simple test to tell this before I either try and  
use it or use a work-around.

Is there any simple test for this?
--
Kim Holburn
IT Network & Security Consultant
Ph: +39 06 855 4294  M: +39 3494957443
mailto:kim at holburn.net  aim://kimholburn
skype://kholburn - PGP Public Key on request

Democracy imposed from without is the severest form of tyranny.
                           -- Lloyd Biggle, Jr. Analog, Apr 1961





More information about the Canberra-pm mailing list