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

Changes for version 0.34 - 2012-11-03

  • ENHANCEMENTS
    • Follow Rinci 1.1.32.
    • Wrapper code now validates result.
    • Wrapper code now rejects invalid args (like 'foo bar') unless new option 'allow_invalid_args' is turned on.
    • Wrapper code now rejects unknown args (those not specified in 'args' metadata property), unless new option 'allow_unknown_args' is turned on.
    • Add options 'validate_args' to allow skipping validating arguments, 'validate_result' to allow skipping validating result, 'skip' to skip certain properties, 'allow_unknown_args', 'allow_invalid_args'.
    • Most wrapping options can now be specified in the metadata attributes ('_perinci.sub.wrapper.*', e.g. '_perinci.sub.wrapper.validate_args').
  • REMOVED FEATURES
    • Move caller() to Perinci-Util (Perinci::Sub::Util) to reduce startup overhead modules which only need caller() and not the whole wrapper.

Modules

A multi-purpose subroutine wrapping framework
Provide test_wrap() to test wrapper