Is 'message' a reserved word or something? This works without complaint if
you change the attribute name to something else.

2010/10/14 Jiří Pavlovský <j...@getnet.cz>

>  On 14.10.2010 16:11, Stevan Little wrote:
>
>> Can you provide more details? Perhaps a running example that shows the
>> bug?
>>
>>  Here is a minimal script that produces the error. Ss you can see it is
> caused by Moose::Util::TypeConstraint.
>
> #!/usr/bin/perl
>
> use strict;
> use warnings;
>
> package Test;
>
> use Moose;
>
> use Moose::Util::TypeConstraints;
>
>
> has 'message' => (
>    is  => 'rw',
>    isa => 'Str'
> );
>
>
> package main;
>
> my $test = Test->new;
>
>

Reply via email to