On Thu, Jun 17, 2010 at 10:26:13PM +0000, Ævar Arnfjörð Bjarmason wrote: > On Thu, Jun 17, 2010 at 20:34, Todd Rinaldo <toddr@cpanel.net> wrote: > > Any idea why use 5.12.1 makes it so kill $1 doesn't break? > > > > use 5.12.1; > > my $pid = "12345 "; > > if($pid =~ m/(\d+)/) { > > kill 9, $1; > > } > > I didn't check, but maybe due to the action at a distance regex > matches in feature.pm? They use ([0-9]+), not (\d+) b.t.w., not sure > if that matters. Presumably a previous use of $1 in 'use 5.12.1' set the pPOK flag on $1, which alters the way it is processed in looks_like_number() -- This is a great day for France! -- Nixon at Charles De Gaulle's funeralThread Previous | Thread Next