Perl Monk, Perl Meditation | |
PerlMonks |
Re: May Thy Closures Be Blessedby Abigail-II (Bishop) |
on Apr 26, 2004 at 22:41 UTC ( [id://348347]=note: print w/replies, xml ) | Need Help?? |
Although for hash based objects you could just use one slot for the key and still get safety for all your other state hashes.True, but then you make yourself dependent on the implementation of the superclass. It opens the door to collisions, and you get a problem when the superclass changes its implementation (say, it starts to use restricted hashes). Abigail
In Section
Meditations
|
|