Template::Plugin::Stash(3pm)

Template::Plugin::Stash3pm

Expose the stash, ideal for dumpering...

Usage

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

Overview

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.

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>.

Releases

5 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9–10
  2. 11
  3. 12–13

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.

From libtemplate-plugin-stash-perl 1.006-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.