Specifying the minimum version of Perl needed for your script in your script is like specifying what fuel your car runs on - it allows Perl to exit with a more sensible error message than Syntax error ... when a lower version of Perl is run with your script.
How would a version 5.10 Perl know about new syntactic features introduced in 5.14?
In reply to Re: Why version strings?
by Corion
in thread Why version strings?
by gunzip
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |