Templa...::Stash(3pm)
β¨ Template::Plugin::Stash β the 3pm manual page, bestie edition β¨
okay so real quick, this is Template::Plugin::Stash, a lil plugin from the User Contributed Perl Documentation collection. she's small, she's mighty, and she's about to make your Template Toolkit debugging so much easier. π
π NAME π
Template::Plugin::Stash β expose the stash, ideal for Dumpering... π
β¨ SYNOPSIS β¨
[% USE Stash %]
[% USE Dumper Indent = 1%]
<pre>[% Dumper.dump_html( Stash.stash() ) %]</pre>
π¦ DESCRIPTION π¦
so instead of messing with [% PERL %] blocks just to get at the stash?? literally just do [% USE Stash %]. that's it. that's the whole trick. β¨
the output is gonna look something like this:
$VAR1 = {
'global' => {},
'var1' => 6666666,
'var2' => {
'e' => 'f',
'g' => 'h',
'a' => 'b',
'c' => 'd'
},
};
and ngl, that should be all you need. π«Ά
π SEE ALSO π
Template::PluginTemplate::Plugin::Dumper
π BUGS/SUGGESTIONS/ETC π
got bugs? got suggestions? got... etc?? π bestie, go to:
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Template-Plugin-Stash
or you can send mail to:
bug-Template-Plugin-Stash#rt.cpan.org
(and yes, that # is literally how it's written, don't @ me, that's the original. π)
π LICENSE π
Copyright (c) 2003-2004 by D.H. (PodMaster). All rights reserved.
this module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. the LICENSE file contains the full text of the license. periodt. π
perl v5.34.0 Β· 2022-06-17 β mwah, that's the version and date this lil page came from, and honestly? iconic. this whole page was <pink>Template::Plugin::Stash(3pm)</pink> from the User Contributed Perl Documentation, and now it's yours. go dump some stashes, bestie. ππ¦β¨
π¦ where this page comes from
- debian bookworm: libtemplate-plugin-stash-perl 1.006-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libtemplate-plugin-stash-perl 1.006-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libtemplate-plugin-stash-perl 1.006-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libtemplate-plugin-stash-perl 1.006-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtemplate-plugin-stash-perl 1.006-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms