summaryrefslogtreecommitdiff
path: root/ext/DynaLoader
diff options
context:
space:
mode:
authorgml4410@ggr.co.uk <gml4410@ggr.co.uk>2006-11-02 01:30:34 -0800
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-11-03 13:32:31 +0000
commit816b255b3713d16e7c9ee4c3736d7096b851b609 (patch)
tree1fc3beb399a3abbd4d7c8eda69d32e7c8e0cebd3 /ext/DynaLoader
parenta3b58a99a41a86ac422b863ee2844e354b2915f3 (diff)
downloadperl-816b255b3713d16e7c9ee4c3736d7096b851b609.tar.gz
Wrap the $VERSION initialization of DynaLoader in a BEGIN block
Subject: [perl #40651] (Obscure) Bug in Dynaloader From: gml4410@ggr.co.uk (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.5.HEAD-4979-1162488633-1267.40651-75-0@perl.org> p4raw-id: //depot/perl@29198
Diffstat (limited to 'ext/DynaLoader')
-rw-r--r--ext/DynaLoader/DynaLoader_pm.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/DynaLoader/DynaLoader_pm.PL b/ext/DynaLoader/DynaLoader_pm.PL
index 426d3a5a27..f4c3c8a072 100644
--- a/ext/DynaLoader/DynaLoader_pm.PL
+++ b/ext/DynaLoader/DynaLoader_pm.PL
@@ -84,7 +84,7 @@ package DynaLoader;
#
# Tim.Bunce@ig.co.uk, August 1994
-$VERSION = '1.07';
+BEGIN { $VERSION = '1.07'; }
require AutoLoader;
*AUTOLOAD = \&AutoLoader::AUTOLOAD;