Code::Style::Kit::Parts::Moo - Moo-based OO
version 1.0.1
package My::Kit; use parent qw(Code::Style::Kit Code::Style::Kit::Parts::Moo); 1;
Then:
package My::Class; use My::Kit 'class'; # this is now a Moo class package My::Role; use My::Kit 'role'; # this is now a Moo role
This part defines the class and role features, which import Moo and Moo::Role respectively.
class
role
Moo
Moo::Role
If your kit defines a types feature, it will be imported as well.
types
Gianni Ceccarelli <gianni.ceccarelli@broadbean.com>
This software is copyright (c) 2019 by BroadBean UK, a CareerBuilder Company.
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 Code::Style::Kit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Code::Style::Kit
CPAN shell
perl -MCPAN -e shell install Code::Style::Kit
For more information on module installation, please visit the detailed CPAN module installation guide.