Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://639694]
help
Chatterbox?
[1nickt]: I am sure I don't know about most of the stuff that is no longer controlled by humans. I do know that it's past the point of determining consumer pricing and into things that can kill me with blunt force!
[holli]: but is this really a problem 1nickt? Nobody knows how your human taxi drivers brain works either
[holli]: at least for cars, if the ai works better than a human on average, by all means let the machines drive

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2017-11-21 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (301 votes). Check out past polls.

    Notices?