From: Nicholas Clark Date: Sat, 7 Feb 2009 15:47:15 +0000 (+0000) Subject: Carp 1.05 shipped with 5.8.8. Remove work-around for pre 1.05. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2770a1ce2934f4277de13f4f795ba41c86bf1646;p=p5sagit%2Fp5-mst-13.2.git Carp 1.05 shipped with 5.8.8. Remove work-around for pre 1.05. --- 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}++; - 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