Text::Template::Simple::Caller - Caller stack tracer
use strict; use Text::Template::Simple::Caller; x(); sub x { y() } sub y { z() } sub z { print Text::Template::Simple::Caller->stack }
This document describes version 0.62_09 of Text::Template::Simple::Caller released on 8 April 2009.
0.62_09
Text::Template::Simple::Caller
8 April 2009
WARNING: This version of the module is part of a developer (beta) release of the distribution and it is not suitable for production use.
Caller stack tracer for Text::Template::Simple. This module is not used directly inside templates. You must use the global template function instead. See Text::Template::Simple::Dummy for usage from the templates.
Class method. Accepts parameters as a single hashref:
my $dump = Text::Template::Simple::Caller->stack(\%opts);
Integer. Defines how many call frames to go back. Default is zero (full list).
Defines the dump type. Available options are:
A simple text dump.
Same as string, but the output wrapped with HTML comment codes:
<!-- [DUMP] -->
Returns the dump as a HTML table.
Uses the optional module Text::Table to format the dump.
Text::Table
Burak Gürsoy, <burak@cpan.org>
Copyright 2004-2008 Burak Gürsoy. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install Text::Template::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Template::Simple
CPAN shell
perl -MCPAN -e shell install Text::Template::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.