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
Adam Kennedy <firstname.lastname@example.org>
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.