Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Should I use Fields, InsideOuts, or Properties?by tphyahoo (Vicar) |
on Jul 06, 2005 at 11:27 UTC ( [id://472761]=note: print w/replies, xml ) | Need Help?? |
Thanks for mentioning this.
Reading the thread you linked to, adrianh commented "Once you start refactoring classes and moving object fields between classes, adding fields to classes, etc. I find array based objects becomes a complete PITA." and you seem to agree with him. So, I am reading your example as a way to do things very cleanly in some simple cases, but not as a replacement for fields, which, despite its annoyances, does play well with inheritance.
In Section
Seekers of Perl Wisdom
|
|