Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Minimum perl version added #1
I used Perl::MinimumVersion module to get the minimum version required. This module checks from the the line "require v5.###.###" and also checks minimum version required for used syntax. I also used perldelta for getting the changes in perl v5.8.3.
Perldelta says and also documented in Perl::MinimumVersion:
"Reading $^E now preserves $!. Previously, the C code implementing $^E did not preserve errno , so reading $^E could cause errno and therefore $! to change unexpectedly."
And Simple.pm uses $^E in lines 544 and 632.
Interesting, but I don't think this will cause problems with earlier perl versions because all Proc::Simple does is declare
local( $., $@, $!, $^E, $? );
to avoid waitpid() changing the exit status. It's not actually making use of $^E, so I think the warning of the MinimumVersion module is a false alert.
Thanks for reporting this, but I think we're okay leaving the minimum version number unchanged.