in reply to Re^2: MooseX::Declare and overload
in thread MooseX::Declare and overload
There is still a lot of black magic in MooseX::Declare interfering, but if you use use overload '""' => 'to_string'; instead of referencing it symbolically, it should work if to_string is defined as either a sub or a method. It will also allow subclasses to override the stringification behavior.
In Section
Seekers of Perl Wisdom