Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: In a dereference nightmare!

by Biker (Priest)
on Apr 18, 2002 at 07:59 UTC ( #160142=note: print w/ replies, xml ) Need Help??


in reply to In a dereference nightmare!

In a design nightmare? ;-)

I'd recommend that you do not return a reference to the inner hash to the caller that instantiates your object.

Return the reference to your blessed hash as for any usual implementation of a class. Then access the values of your blessed hash, that is "the inner hash" and any other object properties, only via the methods you provide to the caller.


Everything went worng, just as foreseen.


Comment on Re: In a dereference nightmare!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (13)
As of 2015-07-06 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls