Can you provide more details? Perhaps a running example that shows the bug?

Thanks,

- Stevan


On Oct 14, 2010, at 10:08 AM, Jiří Pavlovský wrote:

Hello,

I cannot figure out, why I'm getting this error:

"You are overwriting a locally defined function (message) with an accessor."

Indeed, I have a and attribute 'message' in my class:

 has 'message' => (
     is  => 'rw',
     isa => 'Str'
   );

but no function of the same name.
Also I try to get vaalue of the 'message' waht I get is the whole class.

This also seems to be Moose version dependent. I think I did not see the this warning few versions back.

Reply via email to