From: Reinhold Kainhofer Date: Sun, 10 Aug 2008 19:10:09 +0000 (+0200) Subject: texi2html: Don't use $_, which interferes with texi2html X-Git-Tag: release/2.11.58-1~32^2~70 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=008708008ef25273b64299993f982cb4d08e69e0;p=lilypond.git texi2html: Don't use $_, which interferes with texi2html --- diff --git a/lilypond-texi2html.init b/lilypond-texi2html.init index 5d31b054b6..5c3589c13c 100644 --- a/lilypond-texi2html.init +++ b/lilypond-texi2html.init @@ -158,14 +158,15 @@ sub load_map_file ($) my $node_map = (); if (open(XREFFILE, $mapfile)) { - while ( ) { + my $line; + while ( $line = ) { # parse the tab-separated entries and insert them into the map: chomp($_); - my @entries = split(/\t/, $_); + my @entries = split(/\t/, $line); if (scalar (@entries) == 3) { $node_map->{$entries[0]} = [$entries[1], $entries[2]]; } else { - print STDERR "Invalid entry in the node file $mapfile: $_\n"; + print STDERR "Invalid entry in the node file $mapfile: $line\n"; } } close (XREFFILE);