Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Set modules and object comparisonby Joost (Canon) |
on Sep 17, 2007 at 19:26 UTC ( [id://639467]=note: print w/replies, xml ) | Need Help?? |
Set::Scalar appears to key objects by stringification, so you could probably use
in your object class to exploit that. Or you could use Set::Scalar::Valued (included in the Set::Scalar distribution) which allows you to explicitly specify a key and the associated object.
In Section
Seekers of Perl Wisdom
|
|