This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
autodie 2.03
authorPaul Fenwick <pjf@perltraining.com.au>
Wed, 1 Jul 2009 13:34:21 +0000 (23:34 +1000)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Wed, 1 Jul 2009 14:13:32 +0000 (16:13 +0200)
commiteb8d423fedc51cab74c8f3c999e4055d7b90f515
tree791162eac01b52d16b4a2420abe55c4ad1c6f8bf
parent100ba297509e735fb2473eb15eabbb4a4355b631
autodie 2.03

G'day Everyone,

Attached is a patch that brings blead up to autodie 2.03.  The failing tests
are fixed, and a number of nits have been picked.  Full changes below, as
well as in the commit message.

Cheerio,

Paul

Revision history for autodie

        * TEST: Removed spurious warning about insufficient credit.

2.03  Wed Jul  1 15:39:16 AUSEST 2009

        * BUGFIX: Stopped blog_hints.t from booching under Perl
          5.8.x. because parent.pm is not installed.

2.02  Wed Jul  1 15:06:21 AUSEST 2009

        * FEATURE: autodie::exception now supports ->context() to
          discover the context of the failing subroutine, and
          ->return() to get a list of what it returned.

        * BUGFIX: ->function from autodie::exception now returns
          the original name of the dying sub, rather than its imported
          name.  For example, 'File::Copy::copy' rather than 'main::copy'.
          Core functions continue to always return 'CORE::whatever'.

        * TEST: blog_hints.t tests new hinting features against
          examples in my blog at http://pjf.id.au/blog/

2.01  Wed Jul  1 01:31:24 AUSEST 2009

        * DOCUMENTATION: General copyediting and tidy-up
          (Thanks to Toby Corkindale)

        * BUGFIX: Warnings are no longer emitted when undefined values
          are compared by hinting routines.

        * BUGFIX: Hints for File::Copy now operate correctly under
          Perl 5.10.1.

        * BUGFIX: Inheritance is now considered sufficient to declare
          allegiance to the hints provider role under Perl 5.8.x.
          (Thanks to Glenn Fowler)

        * TEST: hints.t no longer throws failures under Perl 5.10.1.

        * TEST: pod-coverage.t (author test) no longer fails if
          Sub::Identify is not installed.
          (Thanks to Jonathan Yu. RT #47437)

--
Paul Fenwick <pjf@perltraining.com.au> | http://perltraining.com.au/
Director of Training                   | Ph:  +61 3 9354 6001
Perl Training Australia                | Fax: +61 3 9354 2681

From 715681c17c0f3f9f7a09971007c4c4de0d122c60 Mon Sep 17 00:00:00 2001
From: Paul Fenwick <pjf@perltraining.com.au>
Date: Wed, 1 Jul 2009 23:30:58 +1000
Subject: [PATCH] Merge autodie 2.03 into core.

Revision history for autodie

        * TEST: Removed spurious warning about insufficient credit.

2.03  Wed Jul  1 15:39:16 AUSEST 2009

        * BUGFIX: Stopped blog_hints.t from booching under Perl
          5.8.x. because parent.pm is not installed.

2.02  Wed Jul  1 15:06:21 AUSEST 2009

        * FEATURE: autodie::exception now supports ->context() to
          discover the context of the failing subroutine, and
          ->return() to get a list of what it returned.

        * BUGFIX: ->function from autodie::exception now returns
          the original name of the dying sub, rather than its imported
          name.  For example, 'File::Copy::copy' rather than 'main::copy'.
          Core functions continue to always return 'CORE::whatever'.

        * TEST: blog_hints.t tests new hinting features against
          examples in my blog at http://pjf.id.au/blog/

2.01  Wed Jul  1 01:31:24 AUSEST 2009

        * DOCUMENTATION: General copyediting and tidy-up
          (Thanks to Toby Corkindale)

        * BUGFIX: Warnings are no longer emitted when undefined values
          are compared by hinting routines.

        * BUGFIX: Hints for File::Copy now operate correctly under
          Perl 5.10.1.

        * BUGFIX: Inheritance is now considered sufficient to declare
          allegiance to the hints provider role under Perl 5.8.x.
          (Thanks to Glenn Fowler)

        * TEST: hints.t no longer throws failures under Perl 5.10.1.

        * TEST: pod-coverage.t (author test) no longer fails if
          Sub::Identify is not installed.
          (Thanks to Jonathan Yu. RT #47437)

Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
MANIFEST
lib/Fatal.pm
lib/autodie.pm
lib/autodie/exception.pm
lib/autodie/exception/system.pm
lib/autodie/hints.pm
lib/autodie/t/basic_exceptions.t
lib/autodie/t/blog_hints.t [new file with mode: 0755]
lib/autodie/t/hints.t
lib/autodie/t/lib/Some/Module.pm [new file with mode: 0644]
lib/autodie/t/lib/my/autodie.pm [new file with mode: 0644]