This is exactly why I have this question, actually.
I'm working at a company where (IMO) the versions cannot be relied upon to be consistent or up to date (*) and the company wants to be able to copy scripts around from machine to machine. I've just finished writing a (fairly sizable) CGI for them and it suddenly occurred to me that, when they move it around, it might break if the provided perl is too low. I would like to be able to put in a 'use XYZ' line to at least document what version is required.
(*) There are reasons for this and they aren't all bad. But that's a whole 'nother discussion.
In reply to Re^2: How to tell what version of Perl a script needs?
by Whitehawke
in thread How to tell what version of Perl a script needs?
by Whitehawke
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |