Greetings! `make test' with the latest libwww-perl discovers this syntax error:
$ perl -c lib/HTTP/Request/Common.pm
syntax error at lib/HTTP/Request/Common.pm line 92, near "else"
$
Here goes the fix:
--- lib/HTTP/Request/Common.pm~ 2003-10-17 19:08:29 +0400
+++ lib/HTTP/Request/Common.pm 2003-10-17 19:23:32 +0400
@@ -89,9 +89,6 @@ sub POST
} else {
$req->header('Content-Length' => 0);
}
- else {
- $req->header('Content-Length' => 0);
- }
$req;
}
--
Alexey Tourbin
ALT Linux Team
pgp00000.pgp
Description: PGP signature
