On Fri, Jul 17, 2009 at 6:06 PM, Michael G Schwern<schw...@pobox.com> wrote: >> The one on CPAN is sure silly. Aside from duplicating Modern::Perl, >> it suffers from the same basic limitation (downfall?) that in 2 years >> it can't still be "the latest" unless it breaks its contract about >> what it does. > > The contract is "use the latest Perl features" not "use the features of the > Perl you were using when you wrote this code". It might be a silly contract, > but you signed it. :)
It's not even "the latest Perl features" though, it's "the latest features that the author of latest.pm got around to endorsing and whose endorsement you got around to installing." I'd probably find more benefit from something like "use era 1997;", "use era 2006;", etc. It could even do some smart stuff like issuing warnings about forward incompatibilities (e.g. your code says "use era 1994;" and you use $#, but you're running under perl 5.10 where $# doesn't exist). I would volunteer to write such a thing, but there's no way I would be a good steward of it over time. I know my faults. ;-) -Ken