NAME

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

VERSION

version 1.0.3

SYNOPSIS

package My::Kit;
use parent qw(Code::Style::Kit Code::Style::Kit::Parts::Moose);
1;

Then:

package My::Class;
use My::Kit 'class';

# this is now a Moose class

package My::Role;
use My::Kit 'role';

# this is now a Moose role

DESCRIPTION

This part defines the class and role features, which import Moose and Moose::Role respectively. Class are made immutable automatically.

If your kit defines a types feature, it will be imported as well.

In addition, this part also defines the nonmoose feature, to import MooseX::NonMoose.

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.