logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Yuval Kogman <nothingmuch@woobling.org>

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

Name

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

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

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,
           );

Version

       version 0.57

See Also