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.
In reply to Re: Set modules and object comparison
by Joost
in thread Set modules and object comparison
by qq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |