The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 2.00 - 2009-06-29

  • FEATURE: autodie can now accept hints regarding how user and module subroutines should be handled. See autodie::hints for more information.
  • INTERFACE: The calls to the internal subroutines one_invocation() and write_invocation() have changed. An additional argument (the user subroutine reference) is passed as the second-last argument. This may break code that previously tried to call these subroutines directly.
  • BUGFIX: Calls to subroutines to File::Copy should now correctly throw exceptions when called in a list context.
  • BUGFIX: An internal error where autodie could potentially fail to correctly report a dying function's name has been fixed.
  • BUGFIX: autodie will no longer clobber package scalars when a format has the same name as an autodying function. (Thanks to Ben Morrow)
  • INTERFACE: The internal interfaces for fill_protos(), one_invocation(), write_invocation() are now once again backward compatible with legacy versions of Fatal. It is still strongly recommended these interfaces are NOT called directly. The _make_fatal() subroutine is not backwards compatible.
  • TEST: Added internal-backcompat.t to test backwards compatibility of internal interfaces.
  • DOCUMENTATION: Expanded documentation regarding how autodie changes calls to system(), and how this must be explicitly enabled.
  • BUILD: Upgraded to Module::Install 0.91
  • BUGFIX: A situation where certain compile-time diagnostics and errors from autodie would not be displayed has been fixed.

Modules

Replace functions with equivalents which succeed or die
Replace functions with ones that succeed or die with lexical scope
Exceptions from autodying functions.
Exceptions from autodying system().
Provide hints about user subroutines to autodie

Provides

in lib/Fatal.pm