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?? |
> 'say' will not work until I declare "use 5.010" 5.10 is the minimum version you need, but you can as well specify
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.
In Section
Seekers of Perl Wisdom
|
|