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