http://qs321.pair.com?node_id=906360


in reply to Re^4: Using hashes for set operations...
in thread Using hashes for set operations...

I'm thinking X, you're thinking Y: more food for the FAQ. There are different problems to be solved.

Stringification on an object: The overloaded stringify function might not be what you want for this specific call to intersection. Just like you can sort different ways, you want to identify matches some custom way for this operation alone.

I'll read those links and reply more later. (Oh, that's not a link, it's an unescaped [).

Replies are listed 'Best First'.
Re^6: Using hashes for set operations...
by LanX (Saint) on May 23, 2011 at 20:30 UTC
    > The overloaded stringify function might not be what you want for this specific call to intersection.

    Sure but you can't solve all possible tasks at the same time. The stringification of an objectref is IMHO a reasonable default, which should be configurable of course.

    Cheers Rolf

      I agree. Default is built-in stringification, which gives object identity or any existing overloaded stringify for that object.