Subject: | SEGV from List::Util::first |
I just got a SEGV from List::Util::first. Replicated by the following
script:
use List::Util qw(first);
my @patterns = (
[qr{(?i)(.*)\.htm$}, q{$1.\'.html\'}]
);
my $file = "test.htm";
List::Util::first { $file =~ s{$_->[0]}{$_->[1]}eeg && $file; } @patterns;
Found in Perl 5.10.1 on Win32, built using MinGW. Running on Windows 7.