Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Solaris, Perl 5.8 and use 5.005

by freddo411 (Chaplain)
on Mar 07, 2005 at 18:03 UTC ( #437276=note: print w/replies, xml ) Need Help??


in reply to Re: Solaris, Perl 5.8 and use 5.005
in thread Solaris, Perl 5.8 and use 5.005

I have the wonderful joy of having virtually the same issue at my company (using perl 5.005).
First, before you do anything, you have to justify why you want to upgrade. There are some reasons that are irrefutable. These are the "We want to use feature XYZ and it's only in version 5.x.x". Features like that would include:
  • * Near-transparent handling of Unicode (5.8)
  • * A threading model worth having (5.8)
  • * Granular warnings (5.6)
  • * A module from CPAN that only works on version 123
To this list you can add:
  • the ability to use warnings without -w
  • the ability to have our $var
  • better handling of FOO->method;
    (broken in 5.005, must type FOO->method(); )
Since legacy code is mostly likely to break with such a new verison of perl, it is important to upgrade in a graceful way. The best way to do this is to install perl 5.8 in its own directory (your home dir perhaps, or /usr/local/bin), install all the CPAN modules you need, and migrate over one perl app at a time, testing as you go. Eventually, every app can point to perl 5.8 if the effort is made to port it, and those apps that are not ported to perl 5.8 can happily stay the way they are.

-------------------------------------
Nothing is too wonderful to be true
-- Michael Faraday

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2019-12-13 10:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?