I'm using a (now old) Debian Potato machine that has LWP

  perl -MLWP -le 'print $LWP::VERSION'
  5.47

A few years old.  The machine is running 5.00503.

I'm having problems where $ua->simple_request() is hanging, even though
I've set a $ua->timeout.  Even wrapping the request in an eval block with
an alarm() and $SIG{ALRM} handler doesn't work.  I think I remember this
being an issue in the past, but I failed to see it in the Changes file (so
maybe I'm making it up??).  I do remember the timeout not working if it was
the DNS lookup hanging.

Regardless, I'd like to get a more current version of LWP that will
correctly timeout -- the most current that will work with 5.00503, and I'd
also like to get keep alive functionality installed if at all possible.
But trying to do an upgrade with CPAN.pm, I first try to get URI, but:

t/urn-oid...........Use of reserved word "our" is deprecated at
blib/lib/URI/urn.pm line 9.

So, I'm wondering if I can install older version (and which version of URI)
to work with this version of Perl.  Can someone suggest the version to try?

I tried Bundle::LWP but it wasn't long before CPAN.pm was trying to install
perl 5.8.0, of course. :-)

Thanks,

btw - It would be nice if there was a way with CPAN to install the most
current version of modules as of a given date (like -D with CVS).








-- 
Bill Moseley
mailto:[EMAIL PROTECTED]

Reply via email to