Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: future warnings

by Stevie-O (Friar)
on Jul 09, 2004 at 00:10 UTC ( #373009=note: print w/replies, xml ) Need Help??

in reply to future warnings

This sounds like a pretty good idea (and one that's possibly workable, at that!) One alternative would be to invert your logic. Instead of
use warnings version => 5.008003;
to only get warnings introduced at or before 5.8.3, perhaps a
use warnings lastversion => 5.008003;
to only get the relevant warnings introduced, and
no warnings 'lastversion';
as the opposite. This means that newer code will implicitly support the new warnings (because it lacks a 'lastversion' declaration), while retrofitting old code to inhibit the new warnings (in case it causes a problem) is one line added to the top of the file. The already-lexical nature of 'use warnings' should take care of the rest.
$"=$,,$_=q>|\p4<6 8p<M/_|<('=> .q>.<4-KI<l|2$<6%s!<qn#F<>;$, .=pack'N*',"@{[unpack'C*',$_] }"for split/</;$_=$,,y[A-Z a-z] {}cd;print lc

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://373009]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2018-01-21 01:42 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (227 votes). Check out past polls.