On Wednesday, December 29, 2010 04:19:05 Fred Moyer wrote:
> All ok on Darwin/5.12.2, got a failure on Linux/5.8.8/2.2.9
> 
> t/import.t ............... 1/47 Use of uninitialized value in open at
> /home/phred/dev/perl/lib/5.8.8/Test/Builder.pm line 1599.
> # Test 46 got: "1..17\n# Using Apache/Test.pm version 1.34\nok 1 -
> hugo is not erwin\n" (t/import.t at line 136)
> #    Expected: "(?m-xis:^1\\.\\.17$)" (planned)
> #  t/import.t line 136 is: Test::skip $pio, $output, qr/^1\.\.17$/m,
> 'planned'; t/import.t ............... Failed 1/47 subtests

That's the old perl version. Could you please retest revision 1053949 (or 
later).

The following command shows the bug:

$ perl -Mstrict -e 'my $re=qr/^a$/m; printf "%vd: %s\n", $^V, "a\nx"=~$re ? 
"match" : "no match"'

5.12.1: match
5.8.8: no match

Perl 5.8.8 forgets about the m-flag.

Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org
For additional commands, e-mail: dev-h...@perl.apache.org

Reply via email to