Bug in libwww-perl 0.40 and the corresponding bug-fix
Philipp Bachmann (bachlipp@mail.uni-freiburg.de)
Fri, 12 Jul 1996 10:27:16 +0200 (MESZ)
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.