MooseX::Role::Atom - Non-immutable roles are silly. Lets fix that.
# A basic role the official way package Foo; use Moose::Role; use namespace::autoclean; requires 'icecream'; has 'something' => ( is => 'ro', isa => 'Str', ); __PACKAGE__->meta->make_immutable; # A basic role the atomic way package Bar; use MooseX::Role::Atom [ requires => 'icecream', has => [ something => ( is => 'ro', isa => 'Str', ), ], ];
WARNING: THIS MODULE IS PRIMARILY A POLITICAL STATEMENT AT THIS TIME AND MAY CHANGE WITHOUT NOTICE IN RESPONSE TO FEEDBACK
See the description for MooseX::Atom.
Bugs should be reported via the CPAN bug tracker at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-Atom
Adam Kennedy <adamk@cpan.org>
Moose
Copyright 2010 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install MooseX::Atom, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::Atom
CPAN shell
perl -MCPAN -e shell install MooseX::Atom
For more information on module installation, please visit the detailed CPAN module installation guide.