The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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

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

Output will look something like

    $VAR1 = bless( {
        'global' => {},
        'var1' => 6666666,
        'var2' => {
        'e' => 'f',
        'g' => 'h',
        'a' => 'b',
        'c' => 'd'
        },
    }, 'Template::Stash::XS' );

which should be all you need.

SEE ALSO

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

BUGS

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

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.