Another new version of WWW::Mechanize is out

petdance on 2003-04-20T03:15:32

New version (0.40) of WWW::Mechanize is out and propagating.

The big news in this one is better link finding. It used to be that if you wanted to find the third link called "download" and you had a bunch of "download" links, you were outta luck. Now, you can just do:

$agent->follow_link( text => "download", n=>3 );

There's also a find_link() method that just returns the link without having to actually follow it. Finally, there's now a submit_form() method that wraps up all the field-setting and button-clicking into one handy-dandy wrapper function.

Thanks to Uri for lots of help with these...