1825931 Members
2836 Online
109689 Solutions
New Discussion

Re: perl help !!!! :)

 
Gene_14
New Member

perl help !!!! :)

I currently have an older version of perl5 on my sys, I need to install a new version, how do i do this without overwriting the current /opt/perl/perl5 dir?
If i do this with swinstall it will overwrite the perl5 dir with the newer version...
Help is apreciated
3 REPLIES 3
John Poff
Honored Contributor

Re: perl help !!!! :)

Hi,

What version of Perl are you currently running? I've swinstall'd the HP 5.6.1 depot before but I don't remember where it puts it. I'd suggest renaming your /opt/perl directory to something like /opt/perlold and then installing the depot. You can always swremove the depot and try it again once you've got it figured out.

JP
Tim D Fulford
Honored Contributor

Re: perl help !!!! :)

cp -pr /opt/perl/perl5 /opt/perl/perl5.old

just my 0.02??? worth
-
Rajeev  Shukla
Honored Contributor

Re: perl help !!!! :)

Hi,
the best is to download the source code of perl from
http://hpux.cs.utah.edu/hppd/hpux/Languages/perl-5.8.0/
and then compile and install in the desired location you want using the configure command.
Thats the only way you can install perl in any location you want.

Rajeev