[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: You can call me code elf (was: [RELEASE CANDIDATE] Apache-Test-1.34 RC1)
From:       Torsten =?iso-8859-1?q?F=F6rtsch?= <torsten.foertsch () gmx ! net>
Date:       2010-12-30 17:47:20
Message-ID: 201012301847.20939.torsten.foertsch () gmx ! net
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic