Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by xdg (Monsignor)
on Dec 21, 2008 at 16:57 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://731895]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-03-19 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found