UNIVERSAL::to_s - to_s method with all objects.
Version 0.01
use UNIVERSAL::to_s; print $o->to_s;
if you want to_s with non-objects (un-blessed reference or scalar), you can use autobox. autobox allows calling methods on these and UNIVERSAL works as well as blessed objects.
no functions exported.
but all objects have to_s method now!
YAMASHINA Hio, <hio at hio.jp>
<hio at hio.jp>
Please report any bugs or feature requests to bug-universal-to_s at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=UNIVERSAL-to_s. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-universal-to_s at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc UNIVERSAL::to_s
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/UNIVERSAL-to_s
CPAN Ratings
http://cpanratings.perl.org/d/UNIVERSAL-to_s
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=UNIVERSAL-to_s
Search CPAN
http://search.cpan.org/dist/UNIVERSAL-to_s
Copyright 2006 YAMASHINA Hio, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install String::String, copy and paste the appropriate command in to your terminal.
cpanm
cpanm String::String
CPAN shell
perl -MCPAN -e shell install String::String
For more information on module installation, please visit the detailed CPAN module installation guide.