good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Checking number of values returnedby LanX (Saint) |
on Feb 08, 2015 at 18:44 UTC ( [id://1115947]=note: print w/replies, xml ) | Need Help?? |
> then perhaps you could look into returning complex data structures instead, like arrayrefs, hashrefs, or objects? And perhaps if many redundant hashes are passed around, a redesign to OOP is reasonable, where the subs become the methods of the object's data.
editIOW instead of passing data one is chaining methods.
In Section
Seekers of Perl Wisdom
|
|