how do you call the accessor methods?
Just as you did. The interesting question the documentation hasn't made clear to you is "How do I initialize attributes when I call the constructor?":
my $p = Point->new( x => 10, y => 20 );The Objects chapter in the Modern Perl book may be a more gentle (and complete) introduction to Moose.
In reply to Re: Dear Moose docs...
by chromatic
in thread Dear Moose docs...
by 7stud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |