Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: tie() weirdness

by robin (Chaplain)
on Nov 21, 2005 at 15:51 UTC ( #510468=note: print w/ replies, xml ) Need Help??


in reply to Re: tie() weirdness
in thread tie() weirdness

I guess one solution would be to use a temporary mortal instead of the targ

i just tried that. It doesn't work, because the mortals get freed on the return from the FETCH routine. I should have realised that would happen.

Ouch! I wonder how it can be fixed then?

Update: for completeness I should point out that, although it is indeed true that mortals get freed on return from the FETCH routine, that isn't the (only) reason this doesn't fix the problem. A correct (I hope!) diagnosis and patch can be found in the node below.


Comment on Re^2: tie() weirdness

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-09-20 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (157 votes), past polls