I should use a slightly heavier module for creating objects?
IMO: Yes. :-) I usually use Moo. Of course it's also possible to auto-generate the acessor methods yourself, but that starts being too much reinvention of the wheel. Or maybe consider Mo...
Update: Added a missing word.
In reply to Re: Setting accessor with Object::Tiny
by haukex
in thread Setting accessor with Object::Tiny
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |