On 10/1/05, Octavian Rasnita <[EMAIL PROTECTED]> wrote: > perl -MModuleName -e1
You can even find out the version you have installed with perl -M'ModuleName 999' -e1 where 999 is a too large version number. For example $ perl -M'lib 999' -e1 lib version 999 required--this is only version 0.5565. BEGIN failed--compilation aborted. means you have C<lib> installed with version 0.5565. Or $ perl -M'Foo 999' -e1 Can't locate Foo.pm in @INC (... which says you don't have Foo installed. If you want a more elegant output you can try the CPAN modules Module::Info and Module::Which. Cheers, Adriano. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>