From: Rafael Garcia-Suarez Date: Fri, 18 Mar 2005 10:27:17 +0000 (+0000) Subject: Don't use vars in DynaLoader X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ad5c2da20a409831a6acfe749626ce0396b43b3f;p=p5sagit%2Fp5-mst-13.2.git Don't use vars in DynaLoader Remove left-over maintenance code p4raw-id: //depot/perl@24041 --- diff --git a/ext/DynaLoader/DynaLoader_pm.PL b/ext/DynaLoader/DynaLoader_pm.PL index 85d2bd3..8476dad 100644 --- a/ext/DynaLoader/DynaLoader_pm.PL +++ b/ext/DynaLoader/DynaLoader_pm.PL @@ -80,22 +80,13 @@ package DynaLoader; # # Tim.Bunce@ig.co.uk, August 1994 -use vars qw($VERSION *AUTOLOAD); - -$VERSION = '1.06'; +$VERSION = '1.07'; require AutoLoader; *AUTOLOAD = \&AutoLoader::AUTOLOAD; use Config; -# The following require can't be removed during maintenance -# releases, sadly, because of the risk of buggy code that does -# require Carp; Carp::croak "..."; without brackets dying -# if Carp hasn't been loaded in earlier compile time. :-( -# We'll let those bugs get found on the development track. -require Carp if $] < 5.00450; - # enable debug/trace messages from DynaLoader perl code $dl_debug = $ENV{PERL_DL_DEBUG} || 0 unless defined $dl_debug;