Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 22845
Status: rejected
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: tethys [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Timeouts failing when using WWW::Mechanize (expections not being propagated?)
Date: Mon, 6 Nov 2006 15:43:08 +0000
To: bug-WWW-Mechanize [...] rt.cpan.org
From: "- Tethys" <tethys [...] gmail.com>
Download (untitled) / with headers
text/plain 534b
I'm trying to timeout long running operations. Some (but not all) of those operations make use of WWW::Mechanize. When they do, the timeouts don't work. See the attached file for an example. The alarm is received, but the call to CORE::die() doesn't seem to have any effect, as if the exception isn't be propagated to the parent (where it should be caught by an eval). I get the same results if I use Time::Out, rather than rolling my own timeout code. I'm at a loss to find a generic way of timing out long running operations. Tet
Download timeout.pl
text/x-perl 1.6k

Message body is not shown because sender requested not to inline it.

If this is still an issue, please resubmit to http://code.google.com/p/www-mechanize/issues/list


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.