Hi All,
 In an effort to steer my coworkers away from the core Class::Struct
and move them to the wonderful world of Moose, I created an almost
drop-in replacement that makes an initial Moose definition a little
bit cleaner and understandable. It's been in use for a bit now and
it's grown to where it could be useful to others, so I recently
uploaded it to CPAN:

http://search.cpan.org/~jsoverson/MooseX-Struct-0.06/lib/MooseX/Struct.pm

It allows you to write code such as :

immutable struct 'Foo' => (
   bar => 'rw',
   baz => 'ArrayRef',
);

Omitting the 'immutable' allows you to extend the object much as you
normally would with Moose.

This will be my first contribution to CPAN, also, so comments would
not be unappreciated.

Thanks
--
Jarrod

Reply via email to