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

Re: Why do I need 'use 5.010;' ahen I am running '5.24'

by choroba (Cardinal)
on Jun 30, 2017 at 14:55 UTC ( [id://1193940]=note: print w/replies, xml ) Need Help??


in reply to Why do I need 'use 5.010;' ahen I am running '5.24'

> 'say' will not work until I declare "use 5.010"

5.10 is the minimum version you need, but you can as well specify

use 5.024;

but it would be impolite to other users of your code who run on 5.10 - 5.22, as they can run say, but wouldn't be able to run your code.

My recommendation is to always specify the features you use: it works in all the versions, and you don't have to look up what feature was introduced in what version.

use feature qw{ say };

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-25 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found