CDB_File
view release on metacpan or search on metacpan
CDB_File.pm view on Meta::CPAN
sub DELETE {
goto &CLEAR;
}
sub STORE {
goto &CLEAR;
}
# Must be preloaded for the prototype.
sub create(\%$$;$$) {
my ( $RHdata, $fn, $fntemp, $option_key, $is_utf8 ) = @_;
die("utf8 CDB_Files are not supported below Perl 5.14") if $option_key && $option_key eq 'utf8' && $is_utf8 && $] < "5.014";
my $cdb = CDB_File->new( $fn, $fntemp, $option_key || '', $is_utf8 || 0 ) or return undef;
{
$cdb->insert(%$RHdata);
}
$cdb->finish;
return 1;
( run in 0.236 second using v1.01-cache-2.11-cpan-65fba6d93b7 )