> -----Original Message-----
> From: Daniel Falkenberg [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 11, 2001 6:31 PM
> To: [EMAIL PROTECTED]
> Subject: Module download
> 
> 
> Hello All,
> 
> I don't know if this is possible but I want to be able to have a Perl
> script check my server for modules that I need in my script.  If the
> modules don't exist.
> 
> Is there a module that does this or similar?

You can do something like this to check for an installed module:

   eval { require Foo::Bar } or print "module Foo::Bar not found\n";

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to