1DBM_Filter::encode(3pm)Perl Programmers Reference GuideDBM_Filter::encode(3pm)
2
3
4
7 use SDBM_File; # or DB_File, or GDBM_File, or NDBM_File, or ODBM_File
8 use DBM_Filter ;
9
10 $db = tie %hash, ...
11 $db->Filter_Push('encode' => 'iso-8859-16');
12
14 This DBM filter allows you to choose the character encoding will be
15 store in the DBM file. The usage is
16
17 $db->Filter_Push('encode' => ENCODING);
18
19 where "ENCODING" must be a valid encoding name that the Encode module
20 recognises.
21
22 A fatal error will be thrown if:
23
24 1 The Encode module is not available.
25
26 2 The encoding requested is not supported by the Encode module.
27
29 DBM_Filter, perldbmfilter, Encode
30
32 Paul Marquess pmqs@cpan.org
33
34
35
36perl v5.8.8 2001-09-21 DBM_Filter::encode(3pm)