Keep It Simple, Stupid | |
PerlMonks |
Re^3: Doubt about fly-weight objects.by dragonchild (Archbishop) |
on May 17, 2005 at 13:37 UTC ( [id://457796]=note: print w/replies, xml ) | Need Help?? |
The conceptual problem you're running into is that Perl's OO model isn't "normal". Every object is a reference, no matter how you slice'n'dice it. This is unlike other languages.
I've never really had a use for flyweights - either I need a real object or I don't. But, that's just me.
In Section
Seekers of Perl Wisdom
|
|