summaryrefslogtreecommitdiff
path: root/dist/Carp
diff options
context:
space:
mode:
authorRicardo Signes <rjbs@cpan.org>2015-10-25 21:26:37 -0400
committerRicardo Signes <rjbs@cpan.org>2015-10-25 21:27:51 -0400
commit1d532a9b3f7c7516fc5a74a94731d12ed7d0928b (patch)
treee034ccf4d711796059a6457d3389ed9b0a3f3a81 /dist/Carp
parent9846bace45546ab19676c8577ccf9218ddd7931d (diff)
downloadperl-1d532a9b3f7c7516fc5a74a94731d12ed7d0928b.tar.gz
Carp: prepare for a new CPAN release
Diffstat (limited to 'dist/Carp')
-rw-r--r--dist/Carp/Changes94
-rw-r--r--dist/Carp/README41
-rw-r--r--dist/Carp/lib/Carp.pm3
-rw-r--r--dist/Carp/lib/Carp/Heavy.pm3
-rw-r--r--dist/Carp/t/Carp.t1
5 files changed, 139 insertions, 3 deletions
diff --git a/dist/Carp/Changes b/dist/Carp/Changes
new file mode 100644
index 0000000000..9e391be9a4
--- /dev/null
+++ b/dist/Carp/Changes
@@ -0,0 +1,94 @@
+
+version 1.37_01; 2015-10-25
+ * improvements for working on older perls
+ * bugfix: $Carp::MaxArgNums is no longer treated as if it was one larger
+
+version 1.36; 2015-03-14
+ * bugfix: don't hardcode a path in a test; breaks because of / vs. \
+ * remove an unneeded $VERSION eval to match this release to bleadperl
+
+version 1.35; 2015-03-14
+
+ * improvements for working on non-ASCII platforms
+ * bugfix: older perls have trouble stringifying the regexps in some tests
+ * bugfix: precedence error in some tests
+ * bugfix: on pre-5.14 perls, DEL was treated as a printable character
+ * bugfix: ignore mismatched Carp and Carp::Heavy when it doesn't matter
+
+version 1.3301; 2014-04-01
+
+ * complete dependency list
+
+version 1.33; 2014-03-24
+
+ * in tests, remove unneeded (and undeclared) dependency on Test::More
+ 0.98
+
+version 1.32; 2013-09-03
+
+ * bugfix: don't get confused by a deleted stash when generating
+ stack trace
+
+ * bugfix: don't vivify @CARP_NOT and @ISA in caller's namespace
+
+ * bugfix: don't generate Unicode warnings on old perls when an argument
+ in a stack trace contains a non-character codepoint
+
+ * in stack traces, consistently quote string arguments
+
+ * in stack traces, new hookable mechanism for formatting reference
+ arguments
+
+ * document exportable subroutines longmess() and shortmess()
+
+ * if Carp::Heavy gets loaded by a mismatched Carp (especially an
+ older one that expects Carp::Heavy to do real work), give a useful
+ error message
+
+ * when truncating an argument list in a stack trace, don't format the
+ arguments that got truncated
+
+ * factor out non-vivifying subroutine lookup
+
+ * regularise test for vivification of B::
+
+ * in tests, avoid using package name "B" when not actually testing
+ things relating to the B module
+
+version 1.26; 2012-06-18
+
+ * bugfix: get ", <fh> line 123" phrase from CORE::die, not allowing
+ influence by any CORE::GLOBAL::die override, so that Carp can be
+ used as part of a CORE::GLOBAL::die override
+
+ * on VMS, skip some tests that rely on open3() which doesn't work
+ there yet
+
+version 1.25; 2012-02-16
+
+ * bugfix: avoid failure to export to very old (Perl 5.6) versions of
+ warnings.pm, which could occur due to circular dependency
+
+ * bugfix: avoid vivifying "utf8" stash on Perl 5.6, which caused swash
+ loading to fail in some situations
+
+ * add dot to end of message from Carp, to match the formatting from
+ CORE::die
+
+ * synch Carp::Heavy version number to Carp
+
+version 1.24; 2012-02-02
+
+ * add ", <fh> line 123" phrase to messages, to match core die
+
+version 1.23; 2011-09-09
+
+ * bugfix: make Carp::Heavy load Carp, as it used to prior to 1.22,
+ for backward compatibility
+
+ * avoid " in Carp.t test programs, which caused false failures on
+ Win32 due to faulty system()
+
+version 1.22; 2011-09-04
+
+ * first CPAN release
diff --git a/dist/Carp/README b/dist/Carp/README
new file mode 100644
index 0000000000..96f60d5bbc
--- /dev/null
+++ b/dist/Carp/README
@@ -0,0 +1,41 @@
+NAME
+
+Carp - alternative warn and die for modules
+
+DESCRIPTION
+
+The Carp routines are useful in your own modules because they act like
+die() or warn(), but with a message which is more likely to be useful
+to a user of your module. In the case of cluck, confess, and longmess
+that context is a summary of every call in the call-stack. For a shorter
+message you can use carp or croak which report the error as being from
+where your module was called. There is no guarantee that that is where
+the error was, but it is a good educated guess.
+
+You can also alter the way the output and logic of Carp works, by changing
+some global variables in the Carp namespace.
+
+INSTALLATION
+
+ perl Makefile.PL
+ make
+ make test
+ make install
+
+AUTHOR
+
+The Carp module first appeared in Larry Wall's perl 5.000 distribution.
+Since then it has been modified by several of the perl 5 porters.
+Andrew Main (Zefram) <zefram@fysh.org> divested Carp into an independent
+distribution.
+
+COPYRIGHT
+
+Copyright (C) 1994-2013 Larry Wall
+
+Copyright (C) 2011, 2012, 2013 Andrew Main (Zefram) <zefram@fysh.org>
+
+LICENSE
+
+This module is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
diff --git a/dist/Carp/lib/Carp.pm b/dist/Carp/lib/Carp.pm
index 61192b8579..3582200b87 100644
--- a/dist/Carp/lib/Carp.pm
+++ b/dist/Carp/lib/Carp.pm
@@ -87,7 +87,8 @@ BEGIN {
}
}
-our $VERSION = '1.37';
+our $VERSION = '1.37_01';
+$VERSION =~ tr/_//d;
our $MaxEvalLen = 0;
our $Verbose = 0;
diff --git a/dist/Carp/lib/Carp/Heavy.pm b/dist/Carp/lib/Carp/Heavy.pm
index ed446c506c..4377fe730c 100644
--- a/dist/Carp/lib/Carp/Heavy.pm
+++ b/dist/Carp/lib/Carp/Heavy.pm
@@ -2,7 +2,8 @@ package Carp::Heavy;
use Carp ();
-our $VERSION = '1.37';
+our $VERSION = '1.37_01';
+$VERSION =~ tr/_//d;
# Carp::Heavy was merged into Carp in version 1.12. Any mismatched versions
# after this point are not significant and can be ignored.
diff --git a/dist/Carp/t/Carp.t b/dist/Carp/t/Carp.t
index 16bd47a3fe..a18e3b4513 100644
--- a/dist/Carp/t/Carp.t
+++ b/dist/Carp/t/Carp.t
@@ -9,7 +9,6 @@ sub runperl {
my(%args) = @_;
my($w, $r);
- # may need special handling under VMS?
local $ENV{PERL5LIB} = join ($Config::Config{path_sep}, @INC);
my $pid = open3($w, $r, undef, $^X, "-e", $args{prog});