I assume you are building your own Mock Objects, and not using Test::MockObject. In which case, all you need to do to automatically stringify your object is to make them overload the "" operator.
I think this will do what you are looking for.# assuming there is a stringify method # that does the right thing use overload ('""' => \&stringify);
In reply to Re: Stringification of MockObjects
by stvn
in thread Stringification of MockObjects
by water
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |