1753739 Members
3800 Online
108799 Solutions
New Discussion юеВ

Perl 5.6.1

 
SOLVED
Go to solution
G V R Shankar
Valued Contributor

Perl 5.6.1

Hello All,

I am new to perl. I need to install perl 5.6.1 with the following modules in my hp ux server.

FindBin, Net::Domain, Net::FTP, Getopt::Long, File::Find, File::Basename, Carp::Heavy

If I install perl 5.6.1, will that also install the above modules or do I need to install them seperately, if so please let me the procedure to install the modules.

Thanks in advance.

Ravi.
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor

Re: Perl 5.6.1

Hi Ravi:

Perl 5.6 is quite old. You should definitely install a version of 5.8. Version 5.8.8 is the current release. All of the above modules should be present in a recent distribution. If not, or you need others, CPAN is your source.

You can get pre-compiled HP-UX Perl 5.8.8 binaries from here:

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL

(or):

http://mirrors.develooper.com/hpux/

Look to CPAN here:

http://www.cpan.org/

Regards!

...JRF...
G V R Shankar
Valued Contributor

Re: Perl 5.6.1

Hello James,

Thanks for the quick response. I need to install 5.6.1 as per my customer requirement. Can you please tell me, whether these modules are present in 5.6.1, how can I check that?

Thanks
Ravi.
James R. Ferguson
Acclaimed Contributor
Solution

Re: Perl 5.6.1

Hi Ravi:

You would be far better with 5.8.x. I'm not sure that all of these modules are in the core distribution for 5.6.

You can easily verify a module's availability by doing, for example:

# perl -MGetopt::Long -e 1

The module name follows the '-M' switch. If the module is missing, you will get a "Can't locate" message.

Regards!

...JRF...

James R. Ferguson
Acclaimed Contributor

Re: Perl 5.6.1

Hi Ravi:

Do one more thing. Educate your customer and convince him/her to use current software with richer features, better security, and old bugs fixed.

Perl 5.6.1 dates to circa 2001.

I really can't think of any reason why your customer would want to start by throwing away 5-years of maturation.

Regards!

...JRF...

G V R Shankar
Valued Contributor

Re: Perl 5.6.1

Thanks James. I shall update my customer.
G V R Shankar
Valued Contributor

Re: Perl 5.6.1

Installing Perl 5.8.8.