1Text::Template::Simple:U:sUetrilC(o3n)tributed Perl DocuTmeexntt:a:tTieomnplate::Simple::Util(3)
2
3
4

NAME

6       Text::Template::Simple::Util - Utility functions
7

SYNOPSIS

9          TODO
10

DESCRIPTION

12       This document describes version 0.90 of "Text::Template::Simple::Util"
13       released on "5 July 2016".
14
15       Contains utility functions for Text::Template::Simple.
16

FUNCTIONS

18   DEBUG
19       Returns the debug status.
20
21   DIGEST
22       Returns the "digester" object.
23
24   binary_mode FILE_HANDLE, LAYER
25       Sets the I/O layer of "FILE_HANDLE" in modern "perls", only sets
26       "binmode" on "FILE_HANDLE" otherwise.
27
28   L TYPE, ID [, PARAMETERS]
29       Internal method.
30
31   fatal ID [, PARAMETERS]
32       Internal method.
33
34   "trim STRING"
35       Returns the trimmed version of the "STRING".
36
37   "ltrim STRING"
38       Returns the left trimmed version of the "STRING".
39
40   "rtrim STRING"
41       Returns the right trimmed version of the "STRING".
42
43   escape CHAR, STRING
44       Escapes all occurrences of "CHAR" in "STRING" with backslashes.
45
46   visualize_whitespace STRING
47       Replaces the white space in "STRING" with visual representations.
48

"OVERRIDABLE FUNCTIONS"

50   LOG
51       If debugging mode is enabled in Text::Template::Simple, all debugging
52       messages will be captured by this function and will be printed to
53       "STDERR".
54
55       If a sub named "Text::Template::Simple::Util::MYLOG" is defined, then
56       all calls to "LOG" will be redirected to this sub. If you want to save
57       the debugging messages to a file or to a database, you must define the
58       "MYLOG" sub.
59

AUTHOR

61       Burak Gursoy <burak@cpan.org>.
62
64       Copyright 2004 - 2016 Burak Gursoy. All rights reserved.
65

LICENSE

67       This library is free software; you can redistribute it and/or modify it
68       under the same terms as Perl itself, either Perl version 5.24.0 or, at
69       your option, any later version of Perl 5 you may have available.
70
71
72
73perl v5.28.0                      2018-07-15   Text::Template::Simple::Util(3)
Impressum