summaryrefslogtreecommitdiff
path: root/ext/GDBM_File
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-10-14 21:44:08 +0100
committerNicholas Clark <nick@ccl4.org>2010-10-14 22:00:15 +0100
commitda4061d33235769184e98cc28663a2dd54302fa8 (patch)
tree4570cbd426a13abb0bef561ba7ed9141c616317d /ext/GDBM_File
parent1d2b7ec55763d41a18a61d1b44aedd531d305ad3 (diff)
downloadperl-da4061d33235769184e98cc28663a2dd54302fa8.tar.gz
Convert modules in ext/ to pass minimal arguments to XSLoader::load().
Diffstat (limited to 'ext/GDBM_File')
-rw-r--r--ext/GDBM_File/GDBM_File.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/GDBM_File/GDBM_File.pm b/ext/GDBM_File/GDBM_File.pm
index 0b4182c34d..5520b3f566 100644
--- a/ext/GDBM_File/GDBM_File.pm
+++ b/ext/GDBM_File/GDBM_File.pm
@@ -48,7 +48,7 @@ our($VERSION, @ISA, @EXPORT, $AUTOLOAD);
require Carp;
require Tie::Hash;
require Exporter;
-use XSLoader ();
+require XSLoader;
@ISA = qw(Tie::Hash Exporter);
@EXPORT = qw(
GDBM_CACHESIZE
@@ -81,6 +81,6 @@ sub AUTOLOAD {
goto &{$AUTOLOAD};
}
-XSLoader::load 'GDBM_File', $VERSION;
+XSLoader::load();
1;