in reply to Set modules and object comparison
in your object class to exploit that.use overload '""' => sub { "SomePrefix".$_[0]->id };
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.
|
|---|