# New Ticket Created by Steve Peters # Please include the string: [perl #40818] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40818 >
When running test t/library/pcre.t, it spits out the following warning... Argument "[SIGNAL -1]" isn't numeric in numeric eq (==) at t/library/pcre.t line 30. The attached patch silences the warning. This also seems to stop the test from failing on my setup. Steve Peters [EMAIL PROTECTED]
--- t/library/pcre.t.old Sat Nov 11 14:55:07 2006 +++ t/library/pcre.t Sat Nov 11 14:55:27 2006 @@ -27,7 +27,7 @@ # if we keep pcre, we need a config test my $cmd = ($^O =~ /MSWin32/) ? "pcregrep --version" : "pcre-config --version"; -my $has_pcre = 0 == Parrot::Test::run_command( +my $has_pcre = 0 eq Parrot::Test::run_command( $cmd, STDERR => File::Spec->devnull, );