RE: [Perl-unix-users] Checking if a module is installed

2001-03-21 Thread Martin Moss
$obj->install } } Hmm Perhaps a little bit more patience is needed today:-) Marty > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Martin Moss > Sent: Wednesday 21 March 2001 16:20 > To: [EMAIL PROTECTED] > Sub

[Perl-unix-users] Checking if a module is installed

2001-03-21 Thread Martin Moss
All, I've devised the following script to check if a CPAN module is installed on a machine, and install it if it isn't. The only problem is, the eval always fails and says it can't find the module, and thus always installs it. Also if I use "use" instead of "Require" it gives me compilation errors