Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Perl Version Change - Detecting Problems in Advance

by cbrandtbuffalo (Deacon)
on Sep 22, 2005 at 12:47 UTC ( #494095=note: print w/replies, xml ) Need Help??


in reply to Perl Version Change - Detecting Problems in Advance

We recently did an upgrade, and this is what bit us:

  • Hashes really are random now. They should have been before, but we had some CGI scripts that were using hashes to generate drop-downs. The drop-downs would always come out in the same order before because for very small hashes, the order wasn't really random. They will be different each time now.
  • CGI.pm changes a lot. I think we jumped something like 40 versions when we upgraded. Read the change log and look for gotchas. Tab index feature added to CGI.pm might be one gotcha.
  • DBI changed some default connect options along the way somewhere. I think the one that burned us was ChopBlanks.

The last thing is just to note that you'll need to re-compile all your supporting C code too for the newest versions of modules. So if you use XML modules, you'll probably need to get the newest version of expat and recompile, etc.

Our upgrade went very smooth, with the exception of the issues above. If you need to install a lot of modules too, you might try out Order your autobundle by dependency

  • Comment on Re: Perl Version Change - Detecting Problems in Advance

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2020-05-28 22:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (166 votes). Check out past polls.

    Notices?