Pardon me for being so dense, but after multiple readings of your posts on this thread, I am still scratching my head as to what you actually mean. You write:
...it suddenly occurred to me that, when they move the application I wrote 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.
...which to me sounds exactly what a statement like
use v5.6.0;
is supposed to do (the script will not compile with versions of perl below v5.6.0, and this is all documented in the links I posted). Therefore I am puzzled by your reply above.
| [reply] [d/l] |
He's not asking how to require a version of Perl (as use v5.6.0 would do), he's asking how to determine which version of Perl is required (so he could add a use v5.6.0 directive, for example).
| [reply] [d/l] [select] |