in reply to Extracting a hash reference from a string

You are likely to find that the underlying hash has been destroyed before you get to the $@ postmortem. Stringified, the "reference" is not represented in the reference count.

After Compline,
Zaxo

  • Comment on Re: Extracting a hash reference from a string

Replies are listed 'Best First'.
Re: Re: Extracting a hash reference from a string
by Anonymous Monk on Mar 23, 2003 at 03:08 UTC
    This is a good point, but in this case it is not a problem. The underlying hash guaranteed not to have had it reference count go to zero.