1DBM_Filter::encode(3pm)Perl Programmers Reference GuideDBM_Filter::encode(3pm)
2
3
4

NAME

6       DBM_Filter::encode - filter for DBM_Filter
7

SYNOPSIS

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

DESCRIPTION

16       This DBM filter allows you to choose the character encoding will be
17       store in the DBM file. The usage is
18
19           $db->Filter_Push('encode' => ENCODING);
20
21       where "ENCODING" must be a valid encoding name that the Encode module
22       recognises.
23
24       A fatal error will be thrown if:
25
26       1.   The Encode module is not available.
27
28       2.   The encoding requested is not supported by the Encode module.
29

SEE ALSO

31       DBM_Filter, perldbmfilter, Encode
32

AUTHOR

34       Paul Marquess pmqs@cpan.org
35
36
37
38perl v5.16.3                      2013-02-26           DBM_Filter::encode(3pm)
Impressum