develooper Front page | perl.perl5.porters | Postings from October 2003

[PATCH 5.8.2 @21574] MakeMaker goof ][

Thread Next
From:
Ilya Zakharevich
Date:
October 29, 2003 13:29
Subject:
[PATCH 5.8.2 @21574] MakeMaker goof ][
Message ID:
20031029212911.GA26270@math.berkeley.edu
MakeMaker leaked modifications to $_.

Enjoy,
Ilya

--- ./lib/ExtUtils/MM_Unix.pm-pre	Sun Sep 21 04:08:26 2003
+++ ./lib/ExtUtils/MM_Unix.pm	Thu Oct  9 19:49:28 2003
@@ -3076,6 +3076,7 @@ sub parse_version {
     my $result;
     local *FH;
     local $/ = "\n";
+    local $_;
     open(FH,$parsefile) or die "Could not open '$parsefile': $!";
     my $inpod = 0;
     while (<FH>) {

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About