It is correct, but it won't do what you want it to do. WWW::Mechanize emulates a browser without javascript.
If you want the script to work you will need to either fake the javascript or embed JavaScript::SpiderMonkey which is almost always too much work.
Have fun! (and see this thread WWW::Mechanize and javascript)
Updated: The usage is not correct as jeffa points out. Must remember to check facts that I 'know'.
In reply to Re: Clicking a checkbox using www::mechanize
by nmcfarl
in thread Clicking a checkbox using www::mechanize
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |