aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/mk_feature_tables.pl
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/mk_feature_tables.pl')
-rw-r--r--doc/src/sgml/mk_feature_tables.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/sgml/mk_feature_tables.pl b/doc/src/sgml/mk_feature_tables.pl
index 93dab2132e1..9b111b8b409 100644
--- a/doc/src/sgml/mk_feature_tables.pl
+++ b/doc/src/sgml/mk_feature_tables.pl
@@ -6,11 +6,11 @@ use strict;
my $yesno = $ARGV[0];
-open PACK, $ARGV[1] or die;
+open my $pack, '<', $ARGV[1] or die;
my %feature_packages;
-while (<PACK>)
+while (<$pack>)
{
chomp;
my ($fid, $pname) = split /\t/;
@@ -24,13 +24,13 @@ while (<PACK>)
}
}
-close PACK;
+close $pack;
-open FEAT, $ARGV[2] or die;
+open my $feat, '<', $ARGV[2] or die;
print "<tbody>\n";
-while (<FEAT>)
+while (<$feat>)
{
chomp;
my ($feature_id, $feature_name, $subfeature_id,
@@ -69,4 +69,4 @@ while (<FEAT>)
print "</tbody>\n";
-close FEAT;
+close $feat;