Skip Menu |

This queue is for tickets about the AppConfig CPAN distribution.

Report information
The Basics
Id: 22430
Status: resolved
Priority: 0/
Queue: AppConfig

People
Owner: NEILB [...] cpan.org
Requestors: at [...] altlinux.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.70



Subject: [PATCH] AppConfig/File.pm: localize $_ for while(<>) loop
Date: Mon, 23 Oct 2006 05:02:57 +0400
To: bug-AppConfig [...] rt.cpan.org
From: Alexey Tourbin <at [...] altlinux.ru>
--- lib/AppConfig/File.pm | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/AppConfig/File.pm b/lib/AppConfig/File.pm index 520b445..fa298c1 100644 --- a/lib/AppConfig/File.pm +++ b/lib/AppConfig/File.pm @@ -159,6 +159,7 @@ sub parse { # initialise $prefix to nothing (no [block]) $prefix = ''; + local $_; while (<$handle>) { chomp; -- 1.4.3.GIT
Thanks -- fixed in 1.70 Cheers, Neil