In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/1d532a9b3f7c7516fc5a74a94731d12ed7d0928b?hp=9846bace45546ab19676c8577ccf9218ddd7931d>
- Log ----------------------------------------------------------------- commit 1d532a9b3f7c7516fc5a74a94731d12ed7d0928b Author: Ricardo Signes <r...@cpan.org> Date: Sun Oct 25 21:26:37 2015 -0400 Carp: prepare for a new CPAN release ----------------------------------------------------------------------- Summary of changes: MANIFEST | 2 + dist/Carp/Changes | 94 +++++++++++++++++++++++++++++++++++++++++++++ dist/Carp/README | 41 ++++++++++++++++++++ dist/Carp/lib/Carp.pm | 3 +- dist/Carp/lib/Carp/Heavy.pm | 3 +- dist/Carp/t/Carp.t | 1 - 6 files changed, 141 insertions(+), 3 deletions(-) create mode 100644 dist/Carp/Changes create mode 100644 dist/Carp/README diff --git a/MANIFEST b/MANIFEST index 3c788d9..60ce570 100644 --- a/MANIFEST +++ b/MANIFEST @@ -3029,9 +3029,11 @@ dist/base/t/lib/HasSigDie.pm Module for testing base.pm dist/base/t/sigdie.t See if base works with SIGDIE dist/base/t/version.t See if base works with versions dist/base/t/warnings.t See if base works with warnings +dist/Carp/Changes Changelog for Carp's CPAN releases dist/Carp/lib/Carp/Heavy.pm Error message retired workhorse dist/Carp/lib/Carp.pm Error message extension dist/Carp/Makefile.PL makefile writer for Carp +dist/Carp/README README for Carp's CPAN releases dist/Carp/t/arg_regexp.t See if Carp formats regexp args OK in stack traces dist/Carp/t/arg_string.t See if Carp formats string args OK in stack traces dist/Carp/t/baduni.t See if Carp handles non-char Unicode diff --git a/dist/Carp/Changes b/dist/Carp/Changes new file mode 100644 index 0000000..9e391be --- /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 0000000..96f60d5 --- /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) <zef...@fysh.org> divested Carp into an independent +distribution. + +COPYRIGHT + +Copyright (C) 1994-2013 Larry Wall + +Copyright (C) 2011, 2012, 2013 Andrew Main (Zefram) <zef...@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 61192b8..3582200 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 ed446c5..4377fe7 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 16bd47a..a18e3b4 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}); -- Perl5 Master Repository