From decdf04f8089301848801650957b951c85a9cb91 Mon Sep 17 00:00:00 2001 From: Niko Tyni Date: Sun, 13 Dec 2009 12:01:07 +0000 Subject: make the build system compatible with HTML::Parser >= 3.64 reported as Debian bug #560562 --- util/fix-pod2html.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/fix-pod2html.pl b/util/fix-pod2html.pl index fa51400..ff0176e 100755 --- a/util/fix-pod2html.pl +++ b/util/fix-pod2html.pl @@ -22,7 +22,7 @@ my $p = HTML::Parser->new(api_version => 3); $p->handler(start => \&startsub, 'tagname, text'); $p->handler(end => \&endsub, 'tagname, text'); $p->handler(default => sub { print shift() }, 'text'); -$p->parse_file(shift||"-") or die("parse: $!"); +$p->parse_file(shift||\*STDIN) or die("parse: $!"); my @stack; my $a=0; -- cgit v1.2.3-24-g4f1b