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

People
Owner: Nobody in particular
Requestors: grimoire [...] cultofperf.org.uk
Cc:
AdminCc:

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



Subject: back method does not indicate failure
Date: Fri, 9 Nov 2007 17:41:41 +0000
To: bug-WWW-Mechanize [...] rt.cpan.org
From: Dave Page <grimoire [...] cultofperf.org.uk>
Download (untitled) / with headers
text/plain 548b
Using WWW::Mechanize 1.2.0 on SuSE Linux 9.1, on perl 5.8.3 - I've checked the source for WWW::Mechanize 1.3.2 and my issue is still present there. The _pop_page_stack() method, and hence back(), in WWW::Mechanize does not indicate when it has failed to go back (i.e. because you are at the first page requested). I think this is an oversight, and is simple to fix. Please see the attached patch and test program. Otherwise, thanks for a great and useful module! Dave -- Dave Page <grimoire@cultofperf.org.uk> Jabber: grimoire@jabber.earth.li
Download WWW-Mechanize.patch
text/x-diff 539b

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

Download backtest.pl
text/x-perl 457b

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



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.