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

Owner: Nobody in particular
Requestors: grimoire [...]

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

Received: from ( []) by (Postfix) with SMTP id D4EB14D8234 for <bug-WWW-Mechanize [...]>; Fri, 9 Nov 2007 12:42:00 -0500 (EST)
Received: (qmail 17643 invoked by alias); 9 Nov 2007 17:42:00 -0000
Received: from (HELO ( by (qpsmtpd/0.28) with ESMTP; Fri, 09 Nov 2007 09:41:48 -0800
Received: from grimoire by with local (Exim 4.50) id 1IqXrR-0004fF-RM for bug-WWW-Mechanize [...]; Fri, 09 Nov 2007 17:41:41 +0000
Delivered-To: cpan-bug+www-mechanize [...]
User-Agent: Mutt/1.5.9i
MIME-Version: 1.0
Subject: back method does not indicate failure
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
Return-Path: <grimoire [...]>
X-Original-To: bug-WWW-Mechanize [...]
Content-Disposition: inline
Date: Fri, 9 Nov 2007 17:41:41 +0000
Message-Id: <20071109174141.GW12885 [...]>
Content-Type: multipart/mixed; boundary="UPT3ojh+0CqEDtpF"
To: bug-WWW-Mechanize [...]
From: Dave Page <grimoire [...]>
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Disposition: inline
X-RT-Original-Encoding: us-ascii
Content-Length: 548
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 <> Jabber:
content-type: text/plain; charset="utf-8"
content-disposition: attachment; filename="WWW-Mechanize.patch"
X-RT-Original-Encoding: us-ascii
Content-Length: 539
Download WWW-Mechanize.patch
text/x-diff 539b

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

Content-Type: text/x-perl; charset=us-ascii
content-disposition: attachment; filename=""
X-RT-Original-Encoding: us-ascii
Content-Length: 457
text/x-perl 457b

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

MIME-Version: 1.0
In-Reply-To: <20071109174141.GW12885 [...]>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-3373-1194632910-576.30621-0-0 [...]>
References: <20071109174141.GW12885 [...]>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 83

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

Please report any issues with to