The stupid question is the question not asked | |
PerlMonks |
Re^2: Should I use Fields, InsideOuts, or Properties?by adrianh (Chancellor) |
on Jul 08, 2005 at 16:38 UTC ( [id://473490]=note: print w/replies, xml ) | Need Help?? |
As others may have pointed out, the problem with pseudohashes is that if you do ever want to override what happens when a property is retrieved or set, you need to use tie. To be fair that's not really a problem specific to pseudohashes - the same applies to any perl object representation that doesn't abstract access behind methods.
In Section
Seekers of Perl Wisdom
|
|