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.
|
|---|