Public accessors, for one.
I disagree slightly with tye that Moose forces them on you, but any OO code which spends a lot of time setting (or Larry help us all, even getting) attribute values from outside the object is questionable.
Good objects let you tell them what to do.
In reply to Re^6: MooseX obscure error and importance of Unit Testing (tools)
by chromatic
in thread MooseX obscure error and importance of Unit Testing
by greengaroo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |