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.
requires
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.
directory
To install KiokuDB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm KiokuDB
CPAN shell
perl -MCPAN -e shell install KiokuDB
For more information on module installation, please visit the detailed CPAN module installation guide.