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

NAME

Code::Style::Kit::Parts::Mojo - Mojo-based OO

VERSION

version 1.0.0

SYNOPSIS

  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

DESCRIPTION

This part defines the class and role features, which import Mojo::Base.

AUTHOR

Gianni Ceccarelli <gianni.ceccarelli@broadbean.com>

COPYRIGHT AND LICENSE

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.