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