Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Perl LWP::UserAgent timeout does not work, even if I set timeout for 5 seconds, please help me out this issue. I am in Linux environment.

Replies are listed 'Best First'.
Re: LWP::UserAgent timeout does not work
by marto (Cardinal) on Nov 25, 2013 at 17:45 UTC

    What does the following ouptut:

    cpan -D Net::HTTP LWP::UserAgent

    Update: I suggest you check the open bugs for modules and dependancies. See this bug for example.

Re: LWP::UserAgent timeout does not work
by Eily (Monsignor) on Nov 25, 2013 at 17:37 UTC

    Could you give us a sample of what you've tried that does not work? And not just the line where you call timeout, a bit of context and enough information to reproduce the defect on our side would be helpful.

    How do I post a question effectively?

A reply falls below the community's threshold of quality. You may see it by logging in.