Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Use of "Use 5.XXX" pragma

by BrowserUk (Pope)
on Dec 19, 2012 at 00:10 UTC ( #1009470=note: print w/ replies, xml ) Need Help??

in reply to Use of "Use 5.XXX" pragma

I was under the impression "use 5.XXX;" was a way of verifying the Perl interpreter was at least up to that version or better. I guess not..

It does mean that. But, from 5.10 onwards, it also enables a small set of new keywords; including the state keyword. Others are say & switch.

See the feature pragma for details.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

RIP Neil Armstrong

Comment on Re: Use of "Use 5.XXX" pragma

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2015-10-07 16:44 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (191 votes), past polls