The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.58

  • THINGS THAT MIGHT BREAK YOUR CODE
    • $mech->uri() now returns a plain string, not a URI object. The automatic stringification of the URI object was causing problems on Win32 and/or threaded Perls, and I didn't feel like figuring out why. If the non-objectness of the uri() method is a problem, let me know.
    • form(), form_name() and form_number() now return the HTML::Form object of the form that was chosen. They used to return a 1 or 0. This means that if you're explicitly checking for 1 or 0, instead of evaluating the return code in a boolean context, your code will break.
  • FIXES
    • The <AREA>-handling in extract_links() was incorrectly building the text.
    • uri() now returns a string, not a URI object.
    • form(), form_name() and form_number() now return the HTML::Form object of the form that was chosen.
  • INTERNALS
    • Determination of live vs. local tests is now done in Makefile.PL, and we don't have to set those silly semaphore files any more.
    • Made other cleanups in Makefile.PL, like using ExtUtils::Command instead of rolling my own touch().
    • Moved all the *-live.t tests into t/live/*.t, and renamed the *-local.t files to not be -local.
    • Added more tests for <AREA> tags.

Documentation

Sample programs that use WWW::Mechanize

Modules

automate interaction with websites
Link object for WWW::Mechanize