Scroll to navigation

KiokuDB::TypeMap::Default(3pm) User Contributed Perl Documentation KiokuDB::TypeMap::Default(3pm)

NAME

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

VERSION

version 0.57

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:

KiokuDB::Set
Tie::RefHash, Tie::IxHash
DateTime
URI, URI::WithBase
Path::Class::Entity
Authen::Passphrase

AUTHOR

Yuval Kogman <nothingmuch@woobling.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-05-23 perl v5.34.0