diff options
Diffstat (limited to 'lib/WWW/Mechanize.pm')
-rw-r--r-- | lib/WWW/Mechanize.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/WWW/Mechanize.pm b/lib/WWW/Mechanize.pm index ee24ece..79c413a 100644 --- a/lib/WWW/Mechanize.pm +++ b/lib/WWW/Mechanize.pm @@ -2076,6 +2076,11 @@ as the third optional argument will cause the checkbox to be unticked. The third value does not need to be set if you wish to merely tick the box. + $mech->tick('extra', 'cheese'); + $mech->tick('extra', 'mushrooms'); + + $mech->tick('no_value', ''); # <input type="checkbox" name="no_value"> + =cut sub tick { |