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

NAME

6       Text::Template::Simple::Caller
7

VERSION

9       version 0.91
10

SYNOPSIS

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

DESCRIPTION

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

NAME

26       Text::Template::Simple::Caller - Caller stack tracer
27

METHODS

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

AUTHOR

58       Burak Gursoy <burak@cpan.org>
59
61       This software is copyright (c) 2004 by Burak Gursoy.
62
63       This is free software; you can redistribute it and/or modify it under
64       the same terms as the Perl 5 programming language system itself.
65
66
67
68perl v5.32.1                      2021-01-27 Text::Template::Simple::Caller(3)
Impressum