KiokuDB::Role::API - Role for KiokuDB api (used to setup delegations).
has directory => (
isa => "KiokuDB",
handles => "KiokuDB::Role::API",
This role provides requires declarations for the runtime methods of KiokuDB. This is useful for setting up delegations.
This is used in e.g. KiokuX::User.
The directory method should be used to fetch the actual KiokuDB delegate. This will work no matter how deeply it is nested.
Yuval Kogman <email@example.com>
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.
To install KiokuDB, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.