1GDBM_File(3pm)         Perl Programmers Reference Guide         GDBM_File(3pm)
2
3
4

NAME

6       GDBM_File - Perl5 access to the gdbm library.
7

SYNOPSIS

9           use GDBM_File ;
10           tie %hash, 'GDBM_File', $filename, &GDBM_WRCREAT, 0640;
11           # Use the %hash array.
12           untie %hash ;
13

DESCRIPTION

15       GDBM_File is a module which allows Perl programs to make use of the
16       facilities provided by the GNU gdbm library.  If you intend to use this
17       module you should really have a copy of the gdbm manualpage at hand.
18
19       Most of the libgdbm.a functions are available through the GDBM_File
20       interface.
21
22       Unlike Perl's built-in hashes, it is not safe to "delete" the current
23       item from a GDBM_File tied hash while iterating over it with "each".
24       This is a limitation of the gdbm library.
25

AVAILABILITY

27       gdbm is available from any GNU archive.  The master site is
28       "ftp.gnu.org", but you are strongly urged to use one of the many
29       mirrors.  You can obtain a list of mirror sites from
30       <http://www.gnu.org/order/ftp.html>.
31

SECURITY AND PORTABILITY

33       Do not accept GDBM files from untrusted sources.
34
35       GDBM files are not portable across platforms.
36
37       The GDBM documentation doesn't imply that files from untrusted sources
38       can be safely used with "libgdbm".
39
40       A maliciously crafted file might cause perl to crash or even expose a
41       security vulnerability.
42

BUGS

44       The available functions and the gdbm/perl interface need to be
45       documented.
46
47       The GDBM error number and error message interface needs to be added.
48

SEE ALSO

50       perl(1), DB_File(3), perldbmfilter.
51
52
53
54perl v5.30.1                      2019-11-29                    GDBM_File(3pm)
Impressum