Re: minimal test case; perl bug
- To: control@bugs.debian.org, debian-perl@lists.debian.org, 76900@bugs.debian.org, drow@debian.org
- Subject: Re: minimal test case; perl bug
- From: Joey Hess <joeyh@debian.org>
- Date: Mon, 27 Nov 2000 15:40:05 -0800
- Message-id: <[🔎] 20001127154005.F25050@kitenet.net>
- Mail-followup-to: Joey Hess <joeyh@debian.org>, control@bugs.debian.org, debian-perl@lists.debian.org, 76900@bugs.debian.org, drow@debian.org
- In-reply-to: <[🔎] 20001127153638.E25050@kitenet.net>; from joeyh@debian.org on Mon, Nov 27, 2000 at 03:36:38PM -0800
- References: <[🔎] 20001127153638.E25050@kitenet.net>
Joey Hess wrote:
> joey@gumdrop:~>cat repro
> $_=("\n" x 5).' '.("\n" x 97)."x\nA\n";
> m/^\s*A/m;
> joey@gumdrop:~>perl-5.005 -w repro
> joey@gumdrop:~>perl-5.6 -w repro
> Use of uninitialized value in pattern match (m//) at repro line 3.
The alert may notice it's complaining about a nonexistant line three. My
fault, here is what I really see:
joey@gumdrop:~>cat repro
$_=("\n" x 5).' '.("\n" x 97)."x\nA\n";
m/^\s*A/m;
joey@gumdrop:~>perl-5.005 -w repro
joey@gumdrop:~>perl-5.6 -w repro
Use of uninitialized value in pattern match (m//) at repro line 2.
--
see shy jo
Reply to: