summaryrefslogtreecommitdiff
path: root/ext/Errno/Errno_pm.PL
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-05-01 21:34:11 +0100
committerNicholas Clark <nick@ccl4.org>2010-05-01 21:34:11 +0100
commitf5d41823bbea2258a17f2f1d1cb3518b46ab3562 (patch)
tree8d5c443e7c7ebbf0638df6102620218e40d9a532 /ext/Errno/Errno_pm.PL
parentc6bf6a65e4bf512beae58d59446046f4ca20372f (diff)
downloadperl-f5d41823bbea2258a17f2f1d1cb3518b46ab3562.tar.gz
Remove the lexical $len and associated calculation, which is never used.
Diffstat (limited to 'ext/Errno/Errno_pm.PL')
-rw-r--r--ext/Errno/Errno_pm.PL4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
index 124b8fc8b4..e63a66773e 100644
--- a/ext/Errno/Errno_pm.PL
+++ b/ext/Errno/Errno_pm.PL
@@ -2,7 +2,7 @@ use ExtUtils::MakeMaker;
use Config;
use strict;
-our $VERSION = "1.11";
+our $VERSION = "1.12";
my %err = ();
my %wsa = ();
@@ -354,9 +354,7 @@ use strict;
EDQ
- my $len = 0;
my @err = sort { $err{$a} <=> $err{$b} } keys %err;
- map { $len = length if length > $len } @err;
my $j = "\@EXPORT_OK = qw(" . join(" ",keys %err) . ");\n";
$j =~ s/(.{50,70})\s/$1\n\t/g;