Subject: | Undefined subroutine &LWP::Debug::trace called at /usr/local/share/perl/5.10.0/LWP/UserAgent/Determined.pm line 21 |
I'm using Net::Amazon::S3, and this module use LWP::UserAgent::Determined.
When I try to fetch something from S3 storage, I got following error:
Undefined subroutine &LWP::Debug::trace called at
/usr/local/share/perl/5.10.0/LWP/UserAgent/Determined.pm line 21
As I can see, LWP::UserAgent::Determined calling subs &LWP::Debug::trace
and &LWP::Debug::debug, but LWP::Debug module is totally empty for now.
I'm using following versions:
cpan[8]> i LWP
Bundle Bundle::LWP (GAAS/libwww-perl-5.822.tar.gz)
Module = LWP (GAAS/libwww-perl-5.822.tar.gz)
As workaroung, I wrote following code in my application:
*LWP::Debug::debug = *LWP::Debug::trace = sub {}
But IMHO you need to clean LWP::UserAgent::Determined from old code,
because this module used by other distributions - at least, by
Net::Amazon::S3.
Thanks.