Class::Trait::Lib::TPrintable3pm
Trait for adding stringification abilities to your object
Overview
TPrintable gives your object automatic stringification abilities, as well as access to your original stringified object value.
Requires
toString-
This method should return the stringified object.
Overloads
- ""
-
This operator call the
"toString"method to stringify the object.
Provides
stringValue-
This returns the normal perl stringified value, bypassing whatever
"toString"might return.
Copyright and license
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.
Releases
7 releases since Debian 5.0 (Lenny); the text changed 3 times.