![]() |
![]()
| ![]() |
![]()
NAMEText::Template::Simple::Util VERSIONversion 0.91 SYNOPSISTODO DESCRIPTIONContains utility functions for Text::Template::Simple. NAMEText::Template::Simple::Util - Utility functions FUNCTIONSDEBUGReturns the debug status. DIGESTReturns the "digester" object. binary_mode FILE_HANDLE, LAYERSets the I/O layer of "FILE_HANDLE" in modern "perls", only sets "binmode" on "FILE_HANDLE" otherwise. L TYPE, ID [, PARAMETERS]Internal method. fatal ID [, PARAMETERS]Internal method. "trim STRING"Returns the trimmed version of the "STRING". "ltrim STRING"Returns the left trimmed version of the "STRING". "rtrim STRING"Returns the right trimmed version of the "STRING". escape CHAR, STRINGEscapes all occurrences of "CHAR" in "STRING" with backslashes. visualize_whitespace STRINGReplaces the white space in "STRING" with visual representations. "OVERRIDABLE FUNCTIONS"LOGIf 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. AUTHORBurak Gursoy <burak@cpan.org> COPYRIGHT AND LICENSEThis software is copyright (c) 2004 by Burak Gursoy. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|