Code::Style::Kit::Parts::Mojo - Mojo-based OO
version 1.0.3
package My::Kit; use parent qw(Code::Style::Kit Code::Style::Kit::Parts::Mojo); 1;
Then:
package My::Class; use My::Kit class => [ 'My::Base::Class' ]; # this is now a Mojo class, extending My::Base::Class package My::Role; use My::Kit 'role'; # this is now a Mojo role
This part defines the class and role features, which import Mojo::Base.
class
role
Mojo::Base
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.