Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Sometimes I'd Rather Punch Myself in the Head

by xdg (Monsignor)
on Dec 21, 2008 at 16:57 UTC ( #731895=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Sometimes I'd Rather Punch Myself in the Head
in thread Five Features Perl 5 Needs Now

I don't like "feature" so much myself, but I can live with it as long as use 5.010 also does use feature ':5.010'. I think it's helpful if code is explicit about the version it expects because then it also fails somewhat gracefully if attempted on older Perls.

Of course, what's I'd also like is this, eventually:

use 5.012; # strict on, warnings on, features up to 5.12 on

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.


Comment on Re^3: Sometimes I'd Rather Punch Myself in the Head
Select or Download Code
Re^4: Sometimes I'd Rather Punch Myself in the Head
by chromatic (Archbishop) on Dec 21, 2008 at 18:31 UTC

    I could get used to that idea as well. I don't like the idea of multiplying even more entities to get nice features that should be the default -- having to add use feature 'class'; to every lexical scope containing one or more class keywords along with use strict; and use warnings; gives up some of the gains of adding the keyword!

    If the only pragma I had to use were use 5.012;, that's an improvement.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-07-28 22:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (210 votes), past polls