On Fri, 2005-05-20 at 17:49 -0400, Dino Morelli wrote: > r8136, I'm seeing this test failure: > > $ perl t/harness t/library/pcre.t > > t/library/pcre....Can't use string ("Test::Builder") as a HASH ref while > "strict refs" in use at lib/Test/Builder.pm line 304.
This is a feature of the Test-Simple update I did yesterday. I bet $has_pcre is false for you and you're hitting the skip on line 29. That's a funky piece of code anyway. Does the attached patch fix it for you? -- c
Index: t/library/pcre.t =================================================================== --- t/library/pcre.t (revision 8136) +++ t/library/pcre.t (working copy) @@ -26,7 +26,8 @@ STDERR => '/dev/null') == 0; SKIP: { - skip("no pcre-config", Test::Builder->expected_tests()) unless $has_pcre; + skip("no pcre-config", Test::Builder->new()->expected_tests()) + unless $has_pcre; ## 1 pir_output_is( <<'CODE', <<'OUT', 'soup to nuts' );