use warnings;
use Carp;
-our $VERSION = '0.01';
+our $VERSION = '0.02';
BEGIN
{
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