Re: Bug in libwww-perl 0.40 and the corresponding bug-fix

Philipp Bachmann (bachlipp@mail.uni-freiburg.de)
Fri, 12 Jul 1996 18:23:03 +0200 (MESZ)


Let's correct what I wrote tomorrow:

On Fri, 12 Jul 1996, Philipp Bachmann 
wrote:

> Date: Fri, 12 Jul 1996 10:27:16 +0200 (MESZ)
> From: Philipp Bachmann <bachlipp@mail.uni-freiburg.de>
> To: libwww-perl@ics.UCI.EDU
> Subject: Bug in libwww-perl 0.40 and the corresponding bug-fix
> 
> After a long period of bug search I found a little but nevertheless 
> important bug in "wwwhttp.pl".
> 
> In Line 115 it must be
> "$run_it = <<EOF;" instead of "$run_it = <<'EOF';".
> I tried "$run_it = <<`EOF`;", too - but it was wrong, too, because "`" 
> lets the perl interpreter think, that the following lines up to "EOF" 
> should be treated as shell-commands.
> I didn't tried "$run_it = <<"EOF";", but according to the perl manual it 
> is equivalent to "$run_it = <<EOF;" and thus works also.
> 
> I discovered this error, because MOMspider-1.00 always ran into an 
> "segmentation fault"-error with the original "wwwhttp.pl".
> 
> Best regards, Philipp Bachmann.

The "bug" is a bug in Perl 5.001. Making Perl 5.002 beeing MOMspider's 
interpreter, all problems have gone...

Best regards, Philipp Bachmann.