Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: error dereferencing array in a tied hash

by Henri Icarus (Beadle)
on Sep 29, 2001 at 20:19 UTC ( [id://115637]=note: print w/replies, xml ) Need Help??


in reply to error dereferencing array in a tied hash

Yep, I've seen that too. The issues is, I think, that what you get from the tied hash is a reference to the method in the tied object, and that doesn't get executed in context of the array dereference, but it does in the context of assigning the value to a variable. Why this would be, I don't know.

-I went outside... and then I came back in!!!!

  • Comment on Re: error dereferencing array in a tied hash

Replies are listed 'Best First'.
Re: Re: error dereferencing array in a tied hash
by Anonymous Monk on Sep 29, 2001 at 20:39 UTC

    Know of any workarounds that don't involve changing all the outside hash access code? The idea of the tie is to leave that code alone while adding something hidden. I've tried lots of things with no luck. Strange that it only happens with some ties, and when it does, it does it consistently with that tie. That leads me to believe there's something I can do in the tie code to make it work. What, I don't know ...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (1)
As of 2024-04-24 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found