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

Changes for version 0.16 - 2015-07-05

  • MISC
    • Made the state machine only called allowed_methods() on your resource class once. RT #101203. Implemented by Nathan Cutler.
    • Noted in the docs that resource methods may be called more than once and that they should therefore by idempotent. RT #101219. Implemented by Nathan Cutler.
    • Removed the CAVEAT section of the docs warning people not to use this module. RT #97534. Implemented by Nathan Cutler.
    • Setting the WM_DEBUG environtment variable to "diag" now sends debugging output to Test::More::diag() instead of printing directly to STDERR.
    • Resource classes were being passed a string for known_content_type() instead of an HTTP::Headers::ActionPack::MediaType object. Reported by Robert Rothenberg. GH #27.
  • BUG FIXES
    • Fixed the docs for the valid_content_headers() method. This defaults to true, not false, as the docs previously said. Fixed by Nathan Cutler.

Documentation

Learn how to use Web::Machine

Modules

A Perl port of Webmachine
The State Machine runner
The States for Web Machine
The I18N support for HTTP information
The English support for I18N-ed HTTP information
A base resource class
General Utility module
Module to handle body encoding
Module to handle content negotiation