summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-03-18 10:27:17 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-03-18 10:27:17 +0000
commitad5c2da20a409831a6acfe749626ce0396b43b3f (patch)
treef53fa411277513c14834a30cd7b19635351a8684 /ext
parentcbf966efc99a2c4f5bca154fea9fa6b35e220766 (diff)
downloadperl-ad5c2da20a409831a6acfe749626ce0396b43b3f.tar.gz
Don't use vars in DynaLoader
Remove left-over maintenance code p4raw-id: //depot/perl@24041
Diffstat (limited to 'ext')
-rw-r--r--ext/DynaLoader/DynaLoader_pm.PL11
1 files changed, 1 insertions, 10 deletions
diff --git a/ext/DynaLoader/DynaLoader_pm.PL b/ext/DynaLoader/DynaLoader_pm.PL
index 85d2bd3d60..8476dad187 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;