| Text-Template-Simple documentation | view source | Contained in the Text-Template-Simple distribution. |
Text::Template::Simple::Util - Utility functions
TODO
This document describes version 0.83 of Text::Template::Simple::Util
released on 9 February 2011.
Contains utility functions for Text::Template::Simple.
Returns the debug status.
Returns the digester object.
Sets the I/O layer of FH in modern perls, only sets binmode on FH otherwise.
Internal method.
Internal method.
Returns true if THING is an ARRAY.
Returns true if THING is a HASH.
Returns true if THING is a CODE.
Returns the trimmed version of the STRING.
Returns the left trimmed version of the STRING.
Returns the right trimmed version of the STRING.
Escapes all occurrances of CHAR in STRING with backslashes.
If debugging mode is enabled in Text::Template::Simple, all
debugging messages will be captured by this function and will
be printed to STDERR.
If a sub named Text::Template::Simple::Util::MYLOG is defined,
then all calls to LOG will be redirected to this sub. If you want to
save the debugging messages to a file or to a database, you must define
the MYLOG sub.
Burak Gursoy <burak@cpan.org>.
Copyright 2004 - 2011 Burak Gursoy. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.1 or, at your option, any later version of Perl 5 you may have available.
| Text-Template-Simple documentation | view source | Contained in the Text-Template-Simple distribution. |