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

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

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



Subject: Need "reload" method or access to the request object
To even more simulate a browser, a "reload" method would be nice that simply sends the last request again. This makes it necessary to have either access to the last request (via the old $agent->req() method or via $agent->{req}) or to have that method within the class. A possible implementation would be : sub reload { my ($self) = @_; $self->request($self->{req}) if ($self->{req}); };