The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

KiokuDB::TypeMap::Default - A standard KiokuDB::TypeMap with predefined entries.

SYNOPSIS

# the user typemap implicitly inherits from the default one, which is
# provided by the backend.

my $dir = KiokuDB->new(
    backend => $b,
    typemap => $user_typemap,
);

DESCRIPTION

The default typemap is actually defined per backend, in KiokuDB::TypeMap::Default::JSON and KiokuDB::TypeMap::Default::Storable. The list of classes handled by both is the same, but the typemap entries themselves are tailored to the specific backend's requirements/capabilities.

The entries have no impact unless you are actually using the listed modules.

The default typemap is created using KiokuDB::TypeMap::Composite and accepts all the standard options

SUPPORTED TYPES

The following typemaps provide support for these classes:

core

KiokuDB::Set

tie

Tie::RefHash, Tie::IxHash

datetime

DateTime

uri_typemap

URI, URI::WithBase

path_class

Path::Class::Entity

authen_passphrase

Authen::Passphrase