in reply to LWP error 500 timeout

Assuming $ua is a LWP::UserAgent object, those two snippets are identical. The call to get simply ends up in the exact same call to request, nothing more.

Replies are listed 'Best First'.
Re^2: LWP error 500 timeout
by perlmonkdr (Beadle) on Feb 16, 2008 at 21:48 UTC

    Thank for your reply, but the first method fail after some request in a loop and the second not, what may happen?

      I don't buy that causal relationship. I believe the problem is not related to the snippet you use and that your barking up the wrong tree. I could be wrong, but I don't see any difference between those two snippets.