1Text::Template::Simple:U:sUetrilC(o3n)tributed Perl DocuTmeexntt:a:tTieomnplate::Simple::Util(3)
2
3
4
6 Text::Template::Simple::Util
7
9 version 0.91
10
12 TODO
13
15 Contains utility functions for Text::Template::Simple.
16
18 Text::Template::Simple::Util - Utility functions
19
21 DEBUG
22 Returns the debug status.
23
24 DIGEST
25 Returns the "digester" object.
26
27 binary_mode FILE_HANDLE, LAYER
28 Sets the I/O layer of "FILE_HANDLE" in modern "perls", only sets
29 "binmode" on "FILE_HANDLE" otherwise.
30
31 L TYPE, ID [, PARAMETERS]
32 Internal method.
33
34 fatal ID [, PARAMETERS]
35 Internal method.
36
37 "trim STRING"
38 Returns the trimmed version of the "STRING".
39
40 "ltrim STRING"
41 Returns the left trimmed version of the "STRING".
42
43 "rtrim STRING"
44 Returns the right trimmed version of the "STRING".
45
46 escape CHAR, STRING
47 Escapes all occurrences of "CHAR" in "STRING" with backslashes.
48
49 visualize_whitespace STRING
50 Replaces the white space in "STRING" with visual representations.
51
53 LOG
54 If debugging mode is enabled in Text::Template::Simple, all debugging
55 messages will be captured by this function and will be printed to
56 "STDERR".
57
58 If a sub named "Text::Template::Simple::Util::MYLOG" is defined, then
59 all calls to "LOG" will be redirected to this sub. If you want to save
60 the debugging messages to a file or to a database, you must define the
61 "MYLOG" sub.
62
64 Burak Gursoy <burak@cpan.org>
65
67 This software is copyright (c) 2004 by Burak Gursoy.
68
69 This is free software; you can redistribute it and/or modify it under
70 the same terms as the Perl 5 programming language system itself.
71
72
73
74perl v5.32.1 2021-01-27 Text::Template::Simple::Util(3)