Subject: | Data::Stream::Bulk::Callback Incompatibilty with Moose > 0.84 |
It seems Moose is now pickier than they used to be about overwriting
certain acesssors. In this case 'clearer'. I am not very familiar with
moose programming so I don't know what the implications of this are for
your module but I removed the line 'clearer => "finished",' at line 14
in Data/Stream/Bulk/Callback.pm and the error seems to have gone away.
(what features I have lost I don't know). I am not even using your
module directly it is a dependency from Net::Amazon::S3. Below is the
beginning of the stack trace from the error
You are overwriting a locally defined method (finished) with an accessor
at /usr/local/share/perl/5.8.8/Moose/Meta/Attribute.pm line 589
Moose::Meta::Attribute::_process_accessors('Moose::Meta::Attribute=HASH(0x8b6959c)', 'clearer', 'finished', 'undef') called at /usr/local/lib/perl/5.8.8/Class/MOP/Attribute.pm line 421
Class::MOP::Attribute::install_accessors('Moose::Meta::Attribute=HASH(0x8b6959c)') called at /usr/local/share/perl/5.8.8/Moose/Meta/Attribute.pm line 563