NAME
Method::Generate::Constructor::Role::ClassOnlyConstructor - a role to make Moo constructors class only.
VERSION
version 0.001
DESCRIPTION
This role effectively replaces "_generate_constructor" in Method::Generate::Constructor with code that die
s if $class
is a reference.
STANDING ON THE SHOULDERS OF ...
This code would not exist without the examples in MooseX::StrictConstructor and the expert guidance of mst
and haarg
.
AUTHOR
Jim Bacon <jim@nortx.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Jim Bacon.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.