Thanks for the sample code -- I imagined that it might be a lot more complicated. I'm fairly new to Moose.
A fair point. It may be necessary to total some of the fields in a collection of Moose objects -- that's the only reason I can think of right now.
My preference is just to stick with a simple array of hashrefs until it's necessary to get more complicated.
In reply to Re^2: Creating a Moose object at run-time
by talexb
in thread Creating a Moose object at run-time
by talexb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |