The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Evo::Class::Attrs

VERSION

version 0.0405

METHODS

gen_attr ($self, $name, $type, $value, $check, $ro)

Register attribute and return an 'attribute' code. $type can be on of

slots

return slots of attributes

* relaxed - simple attr * default - attr with default $value * default_code - attr with default value - a result of invocation of the $value * required - a value that is required * lazy - like default_code, but $value will be called on demand

AUTHOR

alexbyk.com

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by alexbyk.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.