Hi Jiří,

We really need to see the whole class. It is difficult to deduce the
problem with only this snippet.

On Thu, 14 Oct 2010 16:08:35 +0200
Jiří Pavlovský <[email protected]> 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.
> 


-- 

Nicholas Perez
XMPP/Email: [email protected]
http://search.cpan.org/~nperez/
http://github.com/nperez

Reply via email to