Role::NotSoTiny
version 0.1.0
use Role::NotSoTiny (); Role::NotSoTiny->make_role('Foo'); *Foo::foo = sub {...}; # runtime equivalent of package Foo; use Role::Tiny; sub foo {...}
This module is an experiment with Role::Tiny. The change here is being a proposed as a patch to the original code. See https://github.com/moose/Role-Tiny/pull/4.
Role::NotSoTiny - Experiment with Role::Tiny / Role::NotSoTiny->make_role()
Role::NotSoTiny inherits all methods of Role::Tiny and implements the following new ones.
Role::NotSoTiny->make_role('Some::Package');
Promotes a given package to a role. No subroutines are imported into 'Some::Package'.
'Some::Package'
Adriano Ferreira <ferreira@cpan.org>
This software is copyright (c) 2018 by Adriano Ferreira.
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 Role::NotSoTiny, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Role::NotSoTiny
CPAN shell
perl -MCPAN -e shell install Role::NotSoTiny
For more information on module installation, please visit the detailed CPAN module installation guide.