Text::T...:Caller(3)

πŸ“¦
version 0.91 Β· 2 versions
, in fedora 43

πŸ’– 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 as string, 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 πŸ’œ


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