summaryrefslogtreecommitdiff
path: root/dist/Carp
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2016-08-11 09:37:39 +0100
committerDavid Mitchell <davem@iabyn.com>2016-08-11 12:23:33 +0100
commit403e0607fe50a0d1535b6f4223c24f97643cedbb (patch)
tree8cd576263a4ad74203b3e6fef918c81fd87034a5 /dist/Carp
parent834069b8076735be9a2f17beaeb37544668de921 (diff)
downloadperl-403e0607fe50a0d1535b6f4223c24f97643cedbb.tar.gz
Carp: say what cluck() does
Nowhere did it actually describe what cluck does.
Diffstat (limited to 'dist/Carp')
-rw-r--r--dist/Carp/lib/Carp.pm4
-rw-r--r--dist/Carp/lib/Carp/Heavy.pm2
2 files changed, 3 insertions, 3 deletions
diff --git a/dist/Carp/lib/Carp.pm b/dist/Carp/lib/Carp.pm
index 8e61752cba..05052b9ef6 100644
--- a/dist/Carp/lib/Carp.pm
+++ b/dist/Carp/lib/Carp.pm
@@ -87,7 +87,7 @@ BEGIN {
}
}
-our $VERSION = '1.41';
+our $VERSION = '1.42';
$VERSION =~ tr/_//d;
our $MaxEvalLen = 0;
@@ -636,7 +636,7 @@ Carp - alternative warn and die for modules
# cluck, longmess and shortmess not exported by default
use Carp qw(cluck longmess shortmess);
- cluck "This is how we got here!";
+ cluck "This is how we got here!"; # warn with stack backtrace
$long_message = longmess( "message from cluck() or confess()" );
$short_message = shortmess( "message from carp() or croak()" );
diff --git a/dist/Carp/lib/Carp/Heavy.pm b/dist/Carp/lib/Carp/Heavy.pm
index 7b4de47450..f9c584a42b 100644
--- a/dist/Carp/lib/Carp/Heavy.pm
+++ b/dist/Carp/lib/Carp/Heavy.pm
@@ -2,7 +2,7 @@ package Carp::Heavy;
use Carp ();
-our $VERSION = '1.41';
+our $VERSION = '1.42';
$VERSION =~ tr/_//d;
# Carp::Heavy was merged into Carp in version 1.12. Any mismatched versions