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

People
Owner: Nobody in particular
Requestors: mvr707 [...] yahoo.com
Cc:
AdminCc:

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



Subject: All Methods should return true/false
my $aaa = new WWW::Mechanize(agent => 'AAA', cookie_jar => {}, autocheck => 1); $aaa->get('http://www.blah.com/'); $x = $aaa->form_number(10); ## Non-existing form There is no form numbered 10 at mvr.pl line 10 ## Apart of the printed message, $x should be false $y = $aaa->tick('asd', 123); ## Non-existing checkbox No checkbox "asd" for value "123" in form at mvr.pl line 14 ## Apart from the printed message, $y should be false It is a good idea to amke sure ALL methods return true/false