On Jun 15, 2010, at 2:17 PM, Stephen Prytherch wrote:
package main;

my $btn = HtmlElement->new( Name => 'myButton', Type => 'Button');

$btn->{Type}='An Illegal Value';


You need to call the ->Type method, if you directly access the underlying HASHref then you are bypassing Moose.

- Stevan

Reply via email to