Subject: | Lack of WIFEXITED not correctly detected under Perl 5.6 |
Hello,
I find a compatibility problem in IPC-System-Simple-0.05 under Perl 5.6.
When WIFEXITED is not implemented (for example in Perl 5.6 under
Windows), you catch the croak emitted by POSIX (in order to apply a patch).
You do that using a regex:
if ( $@ =~ /not defined POSIX macro/ )…
But under Perl 5.6, the message is “$constname is not a valid POSIX
macro” (see attached file).
I suggest you to change the regex by:
if ( $@ =~ /not defined POSIX macro/ || $@ =~ /not a valid POSIX macro/)…
This correction works fine with me.
Bye.