logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Template::Plugin::Stash - expose the stash, ideal for Dumpering...

Bugs/Suggestions/Etc

       To report bugs/suggestions/etc, go to <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Template-Plugin-Stash> or
       send mail to <bug-Template-Plugin-Stash#rt.cpan.org>.

Description

       Instead of messing with "[% PERL %]" blocks to get at the stash, simply "[% USE Stash %]".

       Output will look something like

           $VAR1 = {
               'global' => {},
               'var1' => 6666666,
               'var2' => {
               'e' => 'f',
               'g' => 'h',
               'a' => 'b',
               'c' => 'd'
               },
           };

       which should be all you need.

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.

perl v5.34.0                                       2022-06-17                       Template::Plugin::Stash(3pm)

Name

       Template::Plugin::Stash - expose the stash, ideal for Dumpering...

See Also

       Template::Plugin, Template::Plugin::Dumper.

Synopsis

           [% USE Stash %]
           [% USE Dumper Indent = 1%]
           <pre>[% Dumper.dump_html( Stash.stash() ) %]</pre>

See Also