Re: [perl #75812] kill $1 broken in 5.12.1

[email protected] (Ævar Arnfjörð Bjarmason)
Newsgroups perl.perl5.porters
Message-ID <[email protected]>
On Thu, Jun 17, 2010 at 20:34, Todd Rinaldo <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.