Text::T...:Caller(3)
π Text::T...:Caller β the manual page, bestie edition π
okay so this is Text::T...:Caller(3), from the User Contributed Perl Documentation, and honestly? she's a little niche but she's so useful. sit down, grab a snack, let's get into it π
β¨ NAME β¨
Text::Template::Simple::Caller β a caller stack tracer, periodt π
πΈ VERSION πΈ
version 0.91 β yes, she's been around a minute and she's still iconic π
π¦ SYNOPSIS π¦
look at her go:
use strict;
use Text::Template::Simple::Caller;
x();
sub x { y() }
sub y { z() }
sub z { print Text::Template::Simple::Caller->stack }
like, x calls y, y calls z, and z is just vibing, printing out the whole stack. the way that works?? obsessed πβ¨
π DESCRIPTION π
so this is the caller stack tracer for Text::Template::Simple. real talk: you do not use this module directly inside templates. nope. you have to use the global template function instead. for how to use it from inside templates, go look at Text::Template::Simple::Dummy β that's the one with the deets π«Ά
π NAME π
Text::Template::Simple::Caller β Caller stack tracer. yes, it says NAME again. the manpage is doing a little encore, we respect it π
π METHODS π
π« stack
Class method, bestie. It takes its parameters as a single hash reference:
my $dump = Text::Template::Simple::Caller->stack(\%opts);
π frame
Integer. this one decides how many call frames to go back. default is zero, which means the full list β she's giving everything, no holding back π
π type
this defines the dump type. the available options are:
stringβ a simple text dump. lowkey, no notes, just text πhtml_commentβ same asstring, but the output gets wrapped in HTML comment codes, like:
<!-- [DUMP] -->
html_tableβ returns the dump as an HTML table. very structured of her β¨text_tableβ uses the optional module"Text::Table"to format the dump. optional, so make sure you actually have it, iykyk πΈ
π«Ά AUTHOR π«Ά
Burak Gursoy <burak@cpan.org> β thank you king, we appreciate you π
π COPYRIGHT AND LICENSE π
This 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. slay, free software fr fr π
and that's the whole page, bestie!! π¦ this was Text::T...:Caller(3) from perl v5.42.0, dated 2025-07-25 β go forth and trace those stacks, main character energy only πβ¨π
π¦ where this page comes from
- fedora 43: perl-Text-Template-Simple 0.91-22.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms