#
-# Copyright (c) 1995-2000, Raphael Manfredi
+# Copyright (c) 1995-2001, Raphael Manfredi
+# Copyright (c) 2002-2013 by the Perl 5 Porters
#
# You may redistribute only under the same terms as Perl 5, as specified
# in the README file that comes with the distribution.
use vars qw($canonical $forgive_me $VERSION);
-$VERSION = '2.43';
+$VERSION = '2.49';
BEGIN {
if (eval { local $SIG{__DIE__}; require Log::Agent; 1 }) {
# Use of Log::Agent is optional. If it hasn't imported these subs then
# provide a fallback implementation.
#
- if (!exists &logcroak) {
+ unless ($Storable::{logcroak} && *{$Storable::{logcroak}}{CODE}) {
require Carp;
*logcroak = sub {
Carp::croak(@_);
};
}
- if (!exists &logcarp) {
+ unless ($Storable::{logcarp} && *{$Storable::{logcarp}}{CODE}) {
require Carp;
*logcarp = sub {
Carp::carp(@_);
Salvador Ortiz Garcia <sog@msg.com.mx>
Dominic Dunlop <domo@computer.org>
Erik Haugan <erik@solbors.no>
- Benjamin A. Holzman <ben.holzman@grantstreet.com>
+ Benjamin A. Holzman <ben.holzman@grantstreet.com>
+ Reini Urban <rurban@cpanel.net>
for their bug reports, suggestions and contributions.