Half way through moving per-thread magicals into per-thread fields
[p5sagit/p5-mst-13.2.git] / ext / NDBM_File / NDBM_File.pm
index 339439c..47b1f5a 100644 (file)
@@ -1,6 +1,10 @@
 package NDBM_File;
 
-use strict;
+BEGIN {
+    if ($] >= 5.002) {
+       use strict;
+    }
+}
 use vars qw($VERSION @ISA); 
 
 require Tie::Hash;
@@ -15,3 +19,21 @@ bootstrap NDBM_File $VERSION;
 1;
 
 __END__
+
+=head1 NAME
+
+NDBM_File - Tied access to ndbm files
+
+=head1 SYNOPSIS
+
+ use NDBM_File;
+
+ tie(%h, 'NDBM_File', 'Op.dbmx', O_RDWR|O_CREAT, 0640);
+
+ untie %h;
+
+=head1 DESCRIPTION
+
+See L<perlfunc/tie>
+
+=cut