1DBM_Filter::null(3pm)  Perl Programmers Reference Guide  DBM_Filter::null(3pm)
2
3
4

NAME

6       DBM_Filter::null - filter for DBM_Filter
7

SYNOPSIS

9           use SDBM_File; # or DB_File, GDBM_File, NDBM_File, or ODBM_File
10           use DBM_Filter ;
11
12           $db = tie %hash, ...
13           $db->Filter_Push('null');
14

DESCRIPTION

16       This filter ensures that all data written to the DBM file is null
17       terminated. This is useful when you have a perl script that needs to
18       interoperate with a DBM file that a C program also uses. A fairly
19       common issue is for the C application to include the terminating null
20       in a string when it writes to the DBM file. This filter will ensure
21       that all data written to the DBM file can be read by the C application.
22

SEE ALSO

24       DBM_Filter, perldbmfilter
25

AUTHOR

27       Paul Marquess pmqs@cpan.org
28
29
30
31perl v5.28.2                      2018-03-01             DBM_Filter::null(3pm)
Impressum