News for hackers. Stuff that matters.
Re:Given/when - The Perl switch statement by Vivtek on Sunday January 23, 2011 @01:38PM (#2132995)
I don't like it when my CPAN tests fail - and there are some test rigs out there running on 5.6. In practice, this has actually only resulted in my rewriting code once in a part of a module that is standard in 5.8 but wasn't earlier (one of the Tie modules, I think), but still. Using a whole new control structure isn't something I'll be doing soon, no matter how attractive it is.
Re:Given/when - The Perl switch statement by chromatic on Sunday January 23, 2011 @07:41PM (#2133800)
I don't like it when my CPAN tests fail - and there are some test rigs out there running on 5.6.

Anyone who hasn't upgraded Perl 5 in eight and a half years seems unlikely to install new software.

Re:Given/when - The Perl switch statement by jrockway on Sunday January 23, 2011 @05:08PM (#2133476)
Put "use 5.010" in your Makefile.PL and you won't see the failures from older Perl installs.
Re:Given/when - The Perl switch statement by Vivtek on Sunday January 23, 2011 @05:55PM (#2133563)
Yes, because they won't be running there. Maybe you like to target one version back, but there's a lot of systems out there running old Perls, and I don't see why I shouldn't be writing for the largest audience possible.
Re:Given/when - The Perl switch statement by jrockway on Sunday January 23, 2011 @06:19PM (#2133626)
I don't see why I shouldn't be writing for the largest audience possible

Could your audience also be limited by the fact that your modules are IRC bots and bindings to XML parsers that already have bindings? :)

Re:Given/when - The Perl switch statement by Vivtek on Sunday January 23, 2011 @06:56PM (#2133709)
Oh, snap, I guess you win that argument.