summaryrefslogtreecommitdiff
path: root/lib/AnyDBM_File.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AnyDBM_File.pm')
-rw-r--r--lib/AnyDBM_File.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/AnyDBM_File.pm b/lib/AnyDBM_File.pm
new file mode 100644
index 0000000000..ff9078652e
--- /dev/null
+++ b/lib/AnyDBM_File.pm
@@ -0,0 +1,9 @@
+package AnyDBM_File;
+
+@ISA = qw(NDBM_File DB_File GDBM_File SDBM_File ODBM_File) unless @ISA;
+
+eval { require NDBM_File } ||
+eval { require DB_File } ||
+eval { require GDBM_File } ||
+eval { require SDBM_File } ||
+eval { require ODBM_File };