From 008708008ef25273b64299993f982cb4d08e69e0 Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Sun, 10 Aug 2008 21:10:09 +0200 Subject: [PATCH] texi2html: Don't use $_, which interferes with texi2html --- lilypond-texi2html.init | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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); -- 2.39.5