in reply to Re^2: Prevent direct acces to object's attributes
in thread Prevent direct acces to object's attributes
Yeah - on second thought the distinction isn't as grave as I made it out to be. In fact, I have used that transparent property of inside-out objects myself to "attach" data to foreign objects that didn't like their data structure modified.
If an object already is an inside-out object, you have no choice but to continue down that road. The same holds true for Moose-based (hash) objects.
And in the reverse, if you have a hash-based object, you can glue inside-out extensions to it, and it seems as if you can derive a Moose-based class from it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Prevent direct acces to object's attributes
by JavaFan (Canon) on Sep 07, 2009 at 20:28 UTC | |
by SuicideJunkie (Vicar) on Sep 08, 2009 at 14:20 UTC | |
by JavaFan (Canon) on Sep 08, 2009 at 16:12 UTC |