Changes for version 0.4.1 - 2025-01-03

  • new minor version
  • Getopt2h2o now supports "-autoundef" option, but is not on by default - tests added
  • HTTPTiny2h2o will applies "d2o -autoundef" if the 'content' in the HTTP::Tiny response is undef'd - tests added
  • added tests to confirm HTTPTiny2h2o does the right thing if the content of the response is a JSON array
  • HTTPTiny2h2o supports a "-autothrow" option, which when used allows JSON decode exceptions to propagate up; otherwise the default behavior is to ignore it and leave the contents untouched (but accessor "->content" is still created)
  • see updated POD for HTTPTiny2h2o for more details
  • HTTPTiny2h2o this method is still evolving, feedback is welcomed for different scenario

Modules

Provides baptise, semantically and idiomatically just like bless but creates accessors for you. It does other cool things to make Perl code easier to read and maintain, too.