From a419039b11d02b7ef2b7f894b199b245a7876303 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 30 Apr 2003 10:09:27 +0000 Subject: perl_checker compliance --- perl-install/http.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/http.pm') diff --git a/perl-install/http.pm b/perl-install/http.pm index 34158f7bd..4e19eed8b 100644 --- a/perl-install/http.pm +++ b/perl-install/http.pm @@ -29,7 +29,7 @@ sub getFile { #- skip until empty line my ($now, $last, $buf, $tmp) = 0; - my $read = sub { sysread($sock, $buf, 1) || die; $tmp .= $buf }; + my $read = sub { sysread($sock, $buf, 1) or die ''; $tmp .= $buf }; do { $last = $now; &$read; &$read if $buf =~ /\015/; -- cgit v1.2.1