This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add socklen_t probe; Configure maintenance.
[perl5.git] / ext / NDBM_File / NDBM_File.pm
CommitLineData
a0d0e21e
LW
1package NDBM_File;
2
43c9fafc
PP
3BEGIN {
4 if ($] >= 5.002) {
5 use strict;
6 }
7}
96318ac8
PM
8
9require Tie::Hash;
ef7f72ff 10use XSLoader ();
a0d0e21e 11
17f410f9
GS
12our @ISA = qw(Tie::Hash);
13our $VERSION = "1.03";
c07a80fd 14
9426adcd 15XSLoader::load 'NDBM_File', $VERSION;
a0d0e21e
LW
16
171;
18
19__END__
a5f75d66
AD
20
21=head1 NAME
22
23NDBM_File - Tied access to ndbm files
24
25=head1 SYNOPSIS
26
27 use NDBM_File;
ee580363 28 use Fcntl; # for O_ constants
a5f75d66 29
c954a603 30 tie(%h, 'NDBM_File', 'Op.dbmx', O_RDWR|O_CREAT, 0640);
a5f75d66
AD
31
32 untie %h;
33
34=head1 DESCRIPTION
35
9fe6733a 36See L<perlfunc/tie>, L<perldbmfilter>
a5f75d66
AD
37
38=cut