summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Leadbeater <dgl@dgl.cx>2011-03-08 21:41:51 +0000
committerFather Chrysostomos <sprout@cpan.org>2011-03-12 12:43:46 -0800
commit71a4863636f7f084c39fe81ade983a3016fee61f (patch)
treef2e1108026f85c33ae3a891dfff5063f7a383fa4
parent419d89744c528882284e8c1f6db945501a4ca7b6 (diff)
downloadperl-71a4863636f7f084c39fe81ade983a3016fee61f.tar.gz
Switch Storable to XSLoader from DynaLoader
-rw-r--r--dist/Storable/Storable.pm9
1 files changed, 5 insertions, 4 deletions
diff --git a/dist/Storable/Storable.pm b/dist/Storable/Storable.pm
index 6954613a97..fcc1588bc8 100644
--- a/dist/Storable/Storable.pm
+++ b/dist/Storable/Storable.pm
@@ -5,9 +5,9 @@
# in the README file that comes with the distribution.
#
-require DynaLoader;
+require XSLoader;
require Exporter;
-package Storable; @ISA = qw(Exporter DynaLoader);
+package Storable; @ISA = qw(Exporter);
@EXPORT = qw(store retrieve);
@EXPORT_OK = qw(
@@ -23,7 +23,7 @@ use AutoLoader;
use FileHandle;
use vars qw($canonical $forgive_me $VERSION);
-$VERSION = '2.26';
+$VERSION = '2.27';
*AUTOLOAD = \&AutoLoader::AUTOLOAD; # Grrr...
#
@@ -64,7 +64,8 @@ sub retrieve_fd { &fd_retrieve } # Backward compatibility
$Storable::downgrade_restricted = 1;
$Storable::accept_future_minor = 1;
-bootstrap Storable;
+
+XSLoader::load 'Storable', $Storable::VERSION;
1;
__END__
#