Sledge::Plugin::Stash - sledge with lvalue.
package Your::Pages; use Sledge::Plugin::Stash; sub dispatch_foo { my ($self, ) = @_; $self->stash->{foo} = 'bar'; } # in your template. [% foo %]
$self->tmpl->param('foo' => 'bar');
is not visceral.
Let's use the lvalue.
No bugs have been reported.
Tokuhiro Matsuno <tokuhirom @at gmail.com>
<tokuhirom @at gmail.com>
Copyright (c) 2006, Tokuhiro Matsuno <tokuhiro __at__ mobilefactory.jp>. All rights reserved.
<tokuhiro __at__ mobilefactory.jp>
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install Sledge::Plugin::Stash, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sledge::Plugin::Stash
CPAN shell
perl -MCPAN -e shell install Sledge::Plugin::Stash
For more information on module installation, please visit the detailed CPAN module installation guide.