__END__
-=head1 DBM_Filter::compress
+=head1 NAME
+
+DBM_Filter::compress - filter for DBM_Filter
=head1 SYNOPSIS
$db = tie %hash, ...
$db->Filter_Push('compress');
-
+
=head1 DESCRIPTION
This DBM filter will compress all data before it is written to the database
unless $encoding;
return {
- Store => sub {
- $_ = $encoding->encode($_)
+ Store => sub {
+ $_ = $encoding->encode($_)
if defined $_ ;
},
- Fetch => sub {
+ Fetch => sub {
$_ = $encoding->decode($_)
if defined $_ ;
}
__END__
-=head1 DBM_Filter::encode
+=head1 NAME
+
+DBM_Filter::encode - filter for DBM_Filter
=head1 SYNOPSIS
$db = tie %hash, ...
$db->Filter_Push('encode' => 'iso-8859-16');
-
+
=head1 DESCRIPTION
This DBM filter allows you to choose the character encoding will be
__END__
-=head1 DBM_Filter::int32
+=head1 NAME
+
+DBM_Filter::int32 - filter for DBM_Filter
=head1 SYNOPSIS
$db = tie %hash, ...
$db->Filter_Push('int32');
-
+
=head1 DESCRIPTION
This DBM filter is used when interoperating with a C/C++ application
__END__
-=head1 DBM_Filter::null
+=head1 NAME
+
+DBM_Filter::null - filter for DBM_Filter
=head1 SYNOPSIS
$db = tie %hash, ...
$db->Filter_Push('null');
-
+
=head1 DESCRIPTION
This filter ensures that all data written to the DBM file is null
__END__
-=head1 DBM_Filter::utf8
+=head1 NAME
+
+DBM_Filter::utf8 - filter for DBM_Filter
=head1 SYNOPSIS
use SDBM_File; # or DB_File, or GDBM_File, or NDBM_File, or ODBM_File
use DBM_Filter ;
-
$db = tie %hash, ...
$db->Filter_Push('utf8');
-
+
=head1 DESCRIPTION
This Filter will ensure that all data written to the DBM will be encoded