|
NAMEText::Template::Simple::Caller VERSIONversion 0.91 SYNOPSIS use strict;
use Text::Template::Simple::Caller;
x();
sub x { y() }
sub y { z() }
sub z { print Text::Template::Simple::Caller->stack }
DESCRIPTIONCaller 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. NAMEText::Template::Simple::Caller - Caller stack tracer METHODSstackClass method. Accepts parameters as a single hash reference: my $dump = Text::Template::Simple::Caller->stack(\%opts); frame Integer. Defines how many call frames to go back. Default is zero (full list). type Defines the dump type. Available options are:
AUTHORBurak Gursoy <burak@cpan.org> COPYRIGHT AND LICENSEThis software is copyright (c) 2004 by Burak Gursoy. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|