Jesse Luehrs > KiokuDB > KiokuDB::TypeMap::Default

Download:
KiokuDB-0.57.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.57   Source  

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:

core

KiokuDB::Set

tie

Tie::RefHash, Tie::IxHash

datetime

DateTime

uri_typemap

URI, URI::WithBase

path_class

Path::Class::Entity

authen_passphrase

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.

syntax highlighting: