summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-12-24 16:27:47 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-12-24 19:04:53 -0800
commitb9f84aa659b4d4779de9277f7f8c3d183e90370a (patch)
treee38d45642f7a250f8c4f5efddd2b610bb0c29967 /regen
parent415d4c68d180055a2cbbd2b2db5ab0e83fc38698 (diff)
downloadperl-b9f84aa659b4d4779de9277f7f8c3d183e90370a.tar.gz
Port regen/regen_lib.pl to 5.6.2
Since the regen scripts use the system perl, I thought I might as well test regen/feature.pl with 5.6.2, the earliest I have installed. It failed.
Diffstat (limited to 'regen')
-rw-r--r--regen/regen_lib.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/regen/regen_lib.pl b/regen/regen_lib.pl
index dcee0a67f5..a575c977d0 100644
--- a/regen/regen_lib.pl
+++ b/regen/regen_lib.pl
@@ -52,7 +52,7 @@ sub open_new {
*{$fh}->{final_name} = $final_name;
*{$fh}->{lang} = $lang;
binmode $fh;
- print $fh read_only_top(lang => $lang, %$header) if $header;
+ print {$fh} read_only_top(lang => $lang, %$header) if $header;
$fh;
}