Upstream changes:
2.10 Sat Feb 27 14:01:18 AUSEST 2010
* BUGFIX: Fatal and autodie no longer leak Carp functions
into the caller's namespace. Thanks to Schwern.
* TEST: Multi-arg open tests are really really skipped
under Windows now.
* DOCUMENTATION: Many more people are properly attributed
in the 'AUTHORS' file.
Upstream changes:
2.09 Tue Feb 23 00:33:09 EST 2010
* DOCS: Fixed documentation typo. RT #48575
Thanks to David Taylor.
* TEST: Tests involved multi-arg open are skipped
on Windows (where multi-arg pipe is not implemented).
pkgsrc changes:
- Adjust module type for installation
- Adjust installed file permissions
Upstream changes:
2.08 Mon Feb 8 14:24:26 AUSEST 2010
* BUGFIX: Addeds support for chmod. Many thanks to
Jonathan Yu for reporting this (RT #50423).
* BUGFIX: Multi-arg open is now supported by open.
Many thanks to Nick Ncleaton for finding and fix this
bug. (RT #52427)
* BUILD: Updated to Module::Install 0.93
2.07 Fri Jul 31 16:35:40 BST 2009
* FEATURE: Added ->eval_error to autodie::exception, which
stores the contents of $@ at the time autodie throws its
own exception. This is useful when dealing with modules
such as Text::Balanced which set (but do not throw)
$@ on error.
* TEST: Checking for flock() support no longer causes
test failures on older VMS sysstems. (RT #47812)
Thanks to Craig A. Berry for supplying a patch.
* TEST: hints.t tests should no longer cause bogus
failures relating to File::Copy on VMS and Windows
systems prior to Perl 5.10.2.
PR pkg/41816.
The autodie pragma provides a convenient way to replace functions that normally
return false on failure with equivalents that throw an exception on failure.
The autodie pragma has lexical scope, meaning that functions and subroutines
altered with autodie will only change their behaviour until the end of the
enclosing block, file, or eval.
If system is specified as an argument to autodie, then it uses
IPC::System::Simple to do the heavy lifting. See the description of that
module for more information.