Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^5: Using hashes for set operations...

by John M. Dlugosz (Monsignor)
on May 23, 2011 at 20:21 UTC ( [id://906360]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found