This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
HACKERS: Update
[perl5.git] / lib / AnyDBM_File.pm
index 58ffda7..4153af2 100644 (file)
@@ -1,6 +1,9 @@
 package AnyDBM_File;
+use warnings;
+use strict;
 
-use 5.005_64;
+use 5.006_001;
+our $VERSION = '1.01';
 our @ISA = qw(NDBM_File DB_File GDBM_File SDBM_File ODBM_File) unless @ISA;
 
 my $mod;
@@ -12,7 +15,8 @@ for $mod (@ISA) {
 }
 
 die "No DBM package was successfully found or installed";
-#return 0;
+
+__END__
 
 =head1 NAME
 
@@ -38,7 +42,7 @@ can still do so, but new ones can reorder @ISA:
 
 Having multiple DBM implementations makes it trivial to copy database formats:
 
-    use POSIX; use NDBM_File; use DB_File;
+    use Fcntl; use NDBM_File; use DB_File;
     tie %newhash,  'DB_File', $new_filename, O_CREAT|O_RDWR;
     tie %oldhash,  'NDBM_File', $old_filename, 1, 0;
     %newhash = %oldhash;