cpan WWW-Mechanize 0.58

latest releases: 2.19, 2.18, 2.17...
21 years ago

[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 -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 tags.

Don't miss a new WWW-Mechanize release

NewReleases is sending notifications on new releases.