Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: The need and the price of running on old versions of Perl

by itub (Priest)
on Sep 18, 2007 at 16:36 UTC ( #639694=note: print w/replies, xml ) Need Help??

in reply to The need and the price of running on old versions of Perl

There was a time when I was writing a module for CPAN, and I decided to try to make it compatible with old versions of Perl. First, I installed many versions of Perl in my machine. Not too much trouble, except that the old makefiles didn't work right away my newer system! But with some hacking I got them to compile. Then, I started to get rid of the ours, three-arg opens, and such until perl stopped complaining.

What was the result? That my module, which worked perfectly well with the newer perls (5.6.1+), even after the changes for compatibility, somehow caused the old perls to segfault. That's one of those errors that's "not supposed to happen" when you are writing pure Perl! So, from that moment on, I don't give a damn about supporting ancient perl versions such as 5.004. I'm willing to work around the lack of recent features and syntactic sugar, but I'm not willing to work around the bugs.

  • Comment on Re: The need and the price of running on old versions of Perl

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2016-10-24 15:37 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (309 votes). Check out past polls.