NAME

WWW::EFA::Roles::Printable - makes objects printable

SYNOPSIS

my $thing = WWW::EFA::SomeThing->new(); print $thing->string;

package WWW::EFA::SomeThing; use Moose; with 'WWW::EFA::Roles::Printable'; # provides to_string

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.

METHODS

COPYRIGHT

Copyright 2011, Robin Clarke, Munich, Germany

AUTHOR

Robin Clarke <perl@robinclarke.net>