TPrintable - Trait for adding stringification abilities to your object
TPrintable gives your object automatic stringification abilities, as well as access to your original stringified object value.
This method should return the stringified object.
This operator call the toString method to stringify the object.
toString
This returns the normal perl stringified value, bypassing whatever toString might return.
Stevan Little <stevan@iinteractive.com>
Copyright 2004, 2005 by Infinity Interactive, Inc.
http://www.iinteractive.com
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Class::Trait, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::Trait
CPAN shell
perl -MCPAN -e shell install Class::Trait
For more information on module installation, please visit the detailed CPAN module installation guide.