1Text::Template::Simple:U:sCearllCeorn(t3r)ibuted Perl DoTceuxmte:n:tTaetmipolnate::Simple::Caller(3)
2
3
4

NAME

6       Text::Template::Simple::Caller - Caller stack tracer
7

SYNOPSIS

9          use strict;
10          use Text::Template::Simple::Caller;
11          x();
12          sub x {  y() }
13          sub y {  z() }
14          sub z { print Text::Template::Simple::Caller->stack }
15

DESCRIPTION

17       This document describes version 0.90 of
18       "Text::Template::Simple::Caller" released on "5 July 2016".
19
20       Caller stack tracer for Text::Template::Simple. This module is not used
21       directly inside templates. You must use the global template function
22       instead. See Text::Template::Simple::Dummy for usage from the
23       templates.
24

METHODS

26   stack
27       Class method. Accepts parameters as a single hash reference:
28
29          my $dump = Text::Template::Simple::Caller->stack(\%opts);
30
31       frame
32
33       Integer. Defines how many call frames to go back. Default is zero (full
34       list).
35
36       type
37
38       Defines the dump type. Available options are:
39
40       string
41           A simple text dump.
42
43       html_comment
44           Same as string, but the output wrapped with HTML comment codes:
45
46              <!-- [DUMP] -->
47
48       html_table
49           Returns the dump as a HTML table.
50
51       text_table
52           Uses the optional module "Text::Table" to format the dump.
53

AUTHOR

55       Burak Gursoy <burak@cpan.org>.
56
58       Copyright 2004 - 2016 Burak Gursoy. All rights reserved.
59

LICENSE

61       This library is free software; you can redistribute it and/or modify it
62       under the same terms as Perl itself, either Perl version 5.24.0 or, at
63       your option, any later version of Perl 5 you may have available.
64
65
66
67perl v5.28.0                      2018-07-15 Text::Template::Simple::Caller(3)
Impressum