Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Upgrade from Perl4

by tekniko (Deacon)
on Apr 24, 2001 at 18:20 UTC ( [id://75052]=perlquestion: print w/replies, xml ) Need Help??

tekniko has asked for the wisdom of the Perl Monks concerning the following question:

I have never had to do this before, so bear with me. We are running HP-UX on an HP L1000 and the Perl distribution present is 4.0. I recently installed Perl5.00503, but
perl -v
still shows version 4.0. Should I move
/usr/local/bin/perl5.00503
to
/usr/local/bin/perl
or did I miss something? Thanks!

Replies are listed 'Best First'.
Re: Upgrade from Perl4
by zigster (Hermit) on Apr 24, 2001 at 18:27 UTC
    You are better off using a symlink <code > ln -s /usr/local/bin/perl5.00503 /usr/local/bin/perl </code> This makes /usr/local/bin/perl a kinda alias for perl5. They share the same inode. Using a symlink like this means upgrades in the future are easy and easily rolled back.
    --

    Zigster
Re: Upgrade from Perl4
by LordAvatar (Acolyte) on Apr 24, 2001 at 19:26 UTC

    HP by default has their Perl4 distro in

    /usr/bin/perl

    .

    When you run

    perl -v

    Version 4 will run by default and not the Perl5 executable.

    Following zigster's post above, set up a symlink. But, I
    would also add a symlink between /usr/bin/perl and the location
    of your perl5 executable. -LordAvatar

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://75052]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-26 09:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found