in reply to Re: Re: using references as keys in a hash.
in thread using references as keys in a hash.

Well, perhaps you can. One could write a piece of XS or Inline::C that tries to recreate the reference, by peeking what's at that memory address. But the value might have been garbage collected, and then you run into trouble.

Abigail

  • Comment on Re: using references as keys in a hash.

Replies are listed 'Best First'.
Re: Re: using references as keys in a hash.
by BrowserUk (Patriarch) on Feb 23, 2003 at 02:47 UTC

    Devel::Pointer but don't tell anyone I told you:)


    Examine what is said, not who speaks.
    1) When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong.
    2) The only way of discovering the limits of the possible is to venture a little way past them into the impossible
    3) Any sufficiently advanced technology is indistinguishable from magic.
    Arthur C. Clarke.