While testing LWP with perl5.7.3 I get lots of warnings along the
following lines:
local/http...........Use of inherited AUTOLOAD for non-method
HTML::HeadParser::DESTROY() is deprecated at ../blib/lib/LWP/Protocol.pm line 206,
<DAEMON> line 1.
See the perldiag entry for more information. Anyway, it recommends to
do the following, which does indeed silence the warnings. Can patches
like this (and for Request, URI, Protocol etc.) get rolled into the
next libwww-perl release?
--- lib/HTTP/Response.pm.orig Tue Mar 5 12:16:18 2002
+++ lib/HTTP/Response.pm Tue Mar 5 12:16:33 2002
@@ -46,6 +46,7 @@
require HTTP::Message;
@ISA = qw(HTTP::Message);
$VERSION = sprintf("%d.%02d", q$Revision: 1.36 $ =~ /(\d+)\.(\d+)/);
+*AUTOLOAD = \&HTTP::Message::AUTOLOAD;
use HTTP::Status ();
use strict;
Cheers, Leon
--
Leon Brocard.............................http://www.astray.com/
Nanoware...............................http://www.nanoware.org/
.... Instant gratification takes too long