Commit graph

4 commits

Author SHA1 Message Date
sno
7ad3ec622b Updating devel/p5-autodie from 2.09 to 2.10
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.
2010-03-03 17:12:04 +00:00
sno
e4f7e4b982 Updating devel/p5-autodie from 2.08 to 2.09
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).
2010-02-23 20:14:40 +00:00
sno
d3edfc62c0 Updating devel/p5-autodie from 2.06 to 2.08
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.
2010-02-18 08:48:09 +00:00
sno
95a67979eb Importing package for perl5 pragma autodie version 2.06 to satisfy
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.
2009-08-19 20:17:30 +00:00