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

Changes for version 2.14 - 2013-02-22

  • FEATURE: Classes which claim they ->DOES('autodie::skip') are now skipped when generating exceptions. This is mainly of use to utility classes. See `perldoc autodie::skip` for more details. (GH Issue #15)
  • FEATURE / BUGFIX / INCOMPAT: 'chmod' is now in the ':filesys' category (was in ':file').
  • BUGFIX: Added support for 'chown' and 'utime', that was previously overlooked. Mad props to RsrchBoy for spotting this. These are all in the ':filesys' category. (GH Pull #13)
  • BUGFIX: Added support for 'kill'. This is part of the ':ipc' category.
  • BUGFIX: Fixed bug whereby chmod, chown, kill, unlink and utime would not throw an exception when they didn't change all their files or signal all their processes.
  • TEST: truncate.t is now skipped on systems that don't have a working File::Temp.
  • TEST: open.t has a few more tests for exotic modes.
  • TEST: chown() tests are skipped on Win32, as chown on Windows is a no-op. (Thanks to Mithaldu for spotting this!)
  • TEST: Author tests now look for the AUTHOR_TESTING env variable (for dzil compliance).
  • TEST: Better testing for chown, chmod, and unlink.
  • TEST: Better testing for ulink.
  • TEST: kwalitee.t is now only run when $ENV{RELEASE_TESTING} is set.
  • BUGFIX: Removed executable bits from some bundled text files.
  • BUILD: We now use dzil to manage autodie.
  • BUILD: Only Perl 5.8.4 and above is supported by autodie. Please upgrade your Perl distro if you're using 5.8.3 or below.

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
Skip a package when throwing autodie exceptions

Provides

in lib/Fatal.pm