Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Solaris, Perl 5.8 and use 5.005

by Joost (Canon)
on Mar 07, 2005 at 12:44 UTC ( [id://437189]=note: print w/replies, xml ) Need Help??


in reply to Solaris, Perl 5.8 and use 5.005

  • IIRC The perl5.8 from http://sunfreeware.com installs in /usr/local, so all exising scripts that use /usr/bin/perl will continue working as is.
  • Well you can install 5.8 over 5.005, but then you'd better be sure everything keeps working. I don't know if it will.
  • Use 5.003 just specifies the minumum perl version, it does not alter the behaviour of the perl interpreter in perl 5. Perl6 might, though.

Replies are listed 'Best First'.
Re^2: Solaris, Perl 5.8 and use 5.005
by jhourcle (Prior) on Mar 07, 2005 at 16:28 UTC

    I don't know about Solaris 2.6, but I know that installing over top of the factory-installed perl in Solaris 8 (might've been Solaris 7) caused problems. (what they were, I don't particularly remember, as it's been a couple of years, and I learned from it, and never did it again).

    So long as you install into /usr/local/bin, and do not replace the perl in /usr/bin, and do not set root's PATH with /usr/bin/local before /usr/bin, you'll be fine.

    Users can then specify /usr/local/bin/perl or /usr/bin/perl as they want in their shebang lines. You will have to install whatever modules you may need all over again, and you should not have them use the same include paths (unless possibly if you have locally maintained pure perl libraries that you don't want to maintain in two places, you might share those, but for everything from CPAN, I'd install all over again).

    I'm guessing though, if you're still running Solaris 2.6, you have other problems to worry about. (2GB file limit which could result in truncated backups, etc.) Depending on the exact situation, I might push the 'we need to upgrade', just to move off of Solaris 2.6, if that's what it would take to push the change.

Re^2: Solaris, Perl 5.8 and use 5.005
by ZlR (Chaplain) on Mar 07, 2005 at 13:27 UTC

    Use 5.003 just specifies the minumum perl version, it does not alter the behaviour of the perl interpreter in perl 5.

    Ah okay, it was too good to be true :|

Log In?
Username:
Password:

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

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

    No recent polls found