in reply to Re: Given ref to hash value, retrieve the key
in thread Given ref to hash value, retrieve the key

The OP already pointed out that iterating over the hash was a solution, but also dismissed it for efficiency reasons. And rightly so.

Abigail

  • Comment on Re: Given ref to hash value, retrieve the key

Replies are listed 'Best First'.
Re: Re: Given ref to hash value, retrieve the key
by Ovid (Cardinal) on May 22, 2003 at 23:00 UTC

    Thanks. I missed that. I idly wonder if a tied hash would be a wee bit faster, but it would still be an awful solution.

    Cheers,
    Ovid

    New address of my CGI Course.
    Silence is Evil (feel free to copy and distribute widely - note copyright text)