Subject: | Localize $_ to save naive modules from having it clobbered |
Some modules (App::FatPacker) require their packages in such a way that
modifying $_ without localizing it will break them. This patch just
localizes $_ before reading from <DATA>. (I've also submitted a patch to
App::FatPacker to have it stop doing that.)
Subject: | digest-perl-md5.patch |
--- /opt/perl5/perls/perl-5.16.0/lib/site_perl/5.16.0/Digest/Perl/MD5.pm 2004-08-27 16:28:25.000000000 -0400
+++ Digest/Perl/MD5.pm 2012-07-15 21:27:31.000000000 -0400
@@ -61,6 +61,7 @@
);
my $insert = "\n";
+ local $_;
while(<DATA>) {
chomp;
next unless /^[FGHI]/;