Yukki::Types - standard types for use in Yukki
version 0.121790
use Yukki::Types qw( LoginName AccessLevel ); has login_name => ( isa => LoginName ); has access_level => ( isa => AccessLevel );
A standard type library for Yukki.
This is a valid login name. Login names may only contain letters and numbers, as of this writing.
This is a valid access level. This includes any of the following values:
read write none
This is an array of hashes formatted like:
{ label => 'Label', href => '/link/to/somewhere', sort => 40, }
This is a hash of "NavigationLinks".
This is either an absolute URL or the words SCRIPT_NAME or REWRITE.
SCRIPT_NAME
REWRITE
{ label => 'Label', href => '/link/to/somewhere', }
This is a hash of Yukki::Settings::Repository objects.
A plugin configuration is an array of hashes. Each hash must have at least one key named "module" defined.
A plugin list is a loaded set of plugin objects.
In addition to the types above, these coercions are provided for other types.
Coerces a Str into an Email::Address.
Str
Coerces a HashRef into this object by passing the value to the constructor.
HashRef
Coerces a HashRef into a Yukki::Web::Settings.
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
This software is copyright (c) 2012 by Qubling Software LLC.
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 Yukki, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Yukki
CPAN shell
perl -MCPAN -e shell install Yukki
For more information on module installation, please visit the detailed CPAN module installation guide.