Subject: | Magic Error number check reports falsely on non-read $^E and $! |
Perl::MinimumVersion cantains a _bugfix_magic_errno check that says if the magic variable
$^E and $! appear in the same document then the perl verison required is 5.8.3.
The _bugfix_magic_errno check seems to refer to the $^E bugfix in perl 5.8.3 which relates to
*reading* $^E.
http://search.cpan.org/~nwclark/perl-5.8.3/pod/perl583delta.pod#Selected_Bug_Fixes
The check is overly restrictive in a case such as the following where $^E isn't read:
$ cat local.pl
local ($^E, $!);
$ perlver local.pl | grep 'Minimum version'
| Minimum version of perl : v5.8.3
The $^E variable was added in perl 5.004, so the above snippet should be reported at that
version.
John.
--