Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: May Thy Closures Be Blessed

by Abigail-II (Bishop)
on Apr 26, 2004 at 22:41 UTC ( [id://348347]=note: print w/replies, xml ) Need Help??


in reply to Re^2: May Thy Closures Be Blessed
in thread May Thy Closures Be Blessed

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://348347]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-12-02 20:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found