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

porting programs written in perl 5.004 to perl5.005

by palette (Scribe)
on Nov 09, 2005 at 05:56 UTC ( [id://506984]=perlquestion: print w/replies, xml ) Need Help??

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

Hi

Do anyone know what will be the problem if i have program written in perl 5.004 and i have to convert it to perl 5.005. I mean what and all changes i have to make to that perl5.004 program to run it is using perl 5.005

Also provide any links or whitepapers where the migration from perl5.004 to perl5.005 is discussed
Thank you
  • Comment on porting programs written in perl 5.004 to perl5.005

Replies are listed 'Best First'.
Re: porting programs written in perl 5.004 to perl5.005
by tilly (Archbishop) on Nov 09, 2005 at 07:10 UTC
    Here is an overview of what changed between those two versions.

    Usually it suffices to make sure that all modules that you require are present and work under Perl 5.005. Which means that they have to be in 5.005's @INC, and any that link to C libraries have been recompiled (because of binary incompatibility between 5.004 and 5.005).

    The exceptions to that rule are due to bugs in one or the other version of Perl.

      Hi

      Have you come across any white paper regarding this porting which can be shared.

      Thank you
        To the best of my knowledge, it is so trivial to do that upgrade that nobody has bothered writing a white paper.
Re: porting programs written in perl 5.004 to perl5.005
by davorg (Chancellor) on Nov 09, 2005 at 13:12 UTC

    tilly has already given you good advice on where to find the specific differences between those two versions. But I have to ask, why would you want to upgrade to 5.005? That version was released seven years ago. Why not upgrade to something a little more recent, like 5.8.x?

    --
    <http://dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg

Log In?
Username:
Password:

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

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

    No recent polls found