WWW::EFA::Roles::Printable - makes objects printable
my $thing = WWW::EFA::SomeThing->new(); print $thing->string;
package WWW::EFA::SomeThing; use Moose; with 'WWW::EFA::Roles::Printable'; # provides to_string
This is a generic "to string" method, very similar to YAML::Dump, but a bit more tailored to the architecture of this module. e.g. Class::Date does not print out nicely with YAML::Dump, but does with this method.
Copyright 2011, Robin Clarke, Munich, Germany
Robin Clarke <firstname.lastname@example.org>