develooper Front page | perl.perl5.porters | Postings from September 2009

Re: [perl.git] branch blead, updated. GitLive-blead-528-g2770a1c

Thread Next
From:
Adriano Ferreira
Date:
September 30, 2009 10:12
Subject:
Re: [perl.git] branch blead, updated. GitLive-blead-528-g2770a1c
Message ID:
73ddeb6c0909301012m368cd21fse1e61468eadd8eaa@mail.gmail.com
On Sat, Feb 7, 2009 at 12:47 PM, Nicholas Clark <nick@ccl4.org> wrote:

> In perl.git, the branch blead has been updated
>
> <
> http://perl5.git.perl.org/perl.git/commitdiff/2770a1ce2934f4277de13f4f795ba41c86bf1646?hp=b3f1e0ca82d294b0623e703c44104244c31cb9ef
> >
>
> - Log -----------------------------------------------------------------
> commit 2770a1ce2934f4277de13f4f795ba41c86bf1646
> Author: Nicholas Clark <nick@ccl4.org>
> Date:   Sat Feb 7 15:47:15 2009 +0000
>
>    Carp 1.05 shipped with 5.8.8. Remove work-around for pre 1.05.
> -----------------------------------------------------------------------
>
> Summary of changes:
>  lib/Exporter.pm       |    5 +----
>  lib/Exporter/Heavy.pm |    3 ---
>  2 files changed, 1 insertions(+), 7 deletions(-)
>
> diff --git a/lib/Exporter.pm b/lib/Exporter.pm
> index 9e1c1ea..c18a13a 100644
> --- a/lib/Exporter.pm
> +++ b/lib/Exporter.pm
> @@ -9,12 +9,9 @@ require 5.006;
>  our $Debug = 0;
>  our $ExportLevel = 0;
>  our $Verbose ||= 0;
> -our $VERSION = '5.63';
> +our $VERSION = '5.64';
>  our (%Cache);
>
> -# Carp 1.05+ does this now for us, but we may be running with an old Carp
> -$Carp::Internal{Exporter}++;
> -
>

Damn. I know I am quite late with this change.

But I can't take this change into Exporter in CPAN. I would need to declare
a dependency on Carp 1.05, but Carp is not a dual life module.

Thoughts?

Adriano


>  sub as_heavy {
>   require Exporter::Heavy;
>   # Unfortunately, this does not work if the caller is aliased as *name =
> \&foo
> diff --git a/lib/Exporter/Heavy.pm b/lib/Exporter/Heavy.pm
> index d8dff22..724028a 100644
> --- a/lib/Exporter/Heavy.pm
> +++ b/lib/Exporter/Heavy.pm
> @@ -6,9 +6,6 @@ no strict 'refs';
>  # On one line so MakeMaker will see it.
>  require Exporter;  our $VERSION = $Exporter::VERSION;
>
> -# Carp 1.05+ does this now for us, but we may be running with an old Carp
> -$Carp::Internal{'Exporter::Heavy'}++;
> -
>  =head1 NAME
>
>  Exporter::Heavy - Exporter guts
>
> --
> Perl5 Master Repository
>

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About