On Mon Mar 01 03:12:06 2010, PERLER wrote:
Show quoted text> Hi,
>
> I tried to simplify the accessor trait to compatible with future changes
> to the inline code.
>
> All tests pass.
>
>
> package MooseX::ChainedAccessors::Accessor;
> use strict;
> use warnings;
>
> use base 'Moose::Meta::Method::Accessor';
>
> our $VERSION = '0.01';
>
> sub _inline_post_body {
> return 'return $_[0] if (scalar(@_) >= 2);' . "\n";
> }
>
> 1;
Thanks for that patch-like change. Thanks to mst on IRC I've understood
that it fixes my newer ticket for this bug (about breaking with recent
Moose), and I've implemented a fix for it in the github clone:
http://github.com/shlomif/MooseX-ChainedAccessors
I'd like to wait a few weeks for the author's response and if not would
like to receive co-maint for this module, so I can upload an up-to-date
version to CPAN.
Regards,
-- Shlomi Fish