Re: ideintifying whether a module is already installed or not

2005-03-27 Thread Randy W. Sims
Offer Kaye wrote: On Sun, 27 Mar 2005 18:19:22 +0300, Octavian Rasnita wrote: Have you noticed that "-l" parameter? If it is used, the perldoc command just show the directory where the module is installed. Teddy Sigh... did you even try out my example? He most likely did. Your example works fine

Re: ideintifying whether a module is already installed or not

2005-03-27 Thread Offer Kaye
On Sun, 27 Mar 2005 18:19:22 +0300, Octavian Rasnita wrote: > Have you noticed that "-l" parameter? > If it is used, the perldoc command just show the directory where the module > is installed. > > Teddy > Sigh... did you even try out my example? Please read my answer *carefully*, the "perldoc

Re: ideintifying whether a module is already installed or not

2005-03-27 Thread Octavian Rasnita
5 18:02 PM Subject: Re: ideintifying whether a module is already installed or not On Sun, 27 Mar 2005 09:27:09 -0500, Randy W. Sims wrote: > > or even > > perldoc -l Module::Name > Nope, that won't do. What if a module is installed but has no pod file or embedded pod? Example: &

Re: ideintifying whether a module is already installed or not

2005-03-27 Thread Offer Kaye
On Sun, 27 Mar 2005 09:27:09 -0500, Randy W. Sims wrote: > > or even > > perldoc -l Module::Name > Nope, that won't do. What if a module is installed but has no pod file or embedded pod? Example: > perldoc -l Pod::Perldoc No documentation found for "Pod::Perldoc". > perl -MPod::Perldoc -e'prin

Re: ideintifying whether a module is already installed or not

2005-03-27 Thread Nikhil
Just execute perl and say "use forexample : perl -e "use Net::SNMP;" it will throw errors if the module "Net::SNMP" was not installed , if not your module is installed then :) Manish Sapariya wrote: Hi list, How do I know whether a given module is installed on machine or not? Thanks and Regards, M

Re: ideintifying whether a module is already installed or not

2005-03-27 Thread M Nikhil \(Juno\)
Just execute perl and say "use forexample : perl -e "use Net::SNMP;" it will throw errors if the module "Net::SNMP" was not installed , if not your module is installed then :) "Manish Sapariya" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi list, > How do I know whether a given

Re: ideintifying whether a module is already installed or not

2005-03-27 Thread Randy W. Sims
Edward Wijaya wrote: On Sun, 27 Mar 2005 20:28:42 +0800, Manish Sapariya <[EMAIL PROTECTED]> wrote: Hi list, Hi How do I know whether a given module is installed on machine or not? perl -MModule::Name -e 'print "it is installed\n";' or it's simpler variant perl -MModule::Name -e1 or even perld

Re: ideintifying whether a module is already installed or not

2005-03-27 Thread Edward Wijaya
On Sun, 27 Mar 2005 20:28:42 +0800, Manish Sapariya <[EMAIL PROTECTED]> wrote: Hi list, Hi How do I know whether a given module is installed on machine or not? perl -MModule::Name -e 'print "it is installed\n";' or it's simpler variant perl -MModule::Name -e1 Hth -- Edward WIJAYA Singapore -- To

Re: ideintifying whether a module is already installed or not

2005-03-27 Thread Mark Taylor
Hi list, How do I know whether a given module is installed on machine or not? Thanks and Regards, Manish Hi Manish - The way I check to see if a module is installed perl -e "use ModuleName;" (eg. perl -e "use XML::Simple:" If you get an error, then it is not installed. Now I use ActiveState Perl o