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.
In reply to Re: Use of "Use 5.XXX" pragma
by BrowserUk
in thread Use of "Use 5.XXX" pragma
by phatrik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |