Rodrigo Ruiz <[EMAIL PROTECTED]> writes:
> The error appeared on 5.8 version of LWP. My current version is 5.802,
> and it has the error fixed. Is this the first version where the bug is
> fixed? Is it enough to do an "==" comparison or should I use something
> like:
>
> my $ref = ($LWP::VERSION >= 5.8 && $LWP::VERSION < 5.802) ? \$readFunc
> : $readFunc;
This bug was only present in one version; libwww-perl-5.800. If you
really still need this workaround I would make it:
my $readFunc = sub { .... };
$readFunc = \$readFunc if $LWP::VERSION eq "5.800"; # workaround buggy LWP
version
Regards,
Gisle