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: 30690
Status: resolved
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: polettix [...] cpan.org
Cc:
AdminCc:

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



Subject: follow_link does not honor autocheck
There's really nothing more to say than the subject, if the link does not exist follow_link() exits with undef/empty list instead of die-ing when autocheck is in force. The change is trivial, it suffices to add a line between the "happy path" and the final return, like this: return $self->get( $link->url ) if $link; $self->die( 'link not found: ', $link->url ) if $self->{autocheck}; return; Regards, Flavio.