Sledge::Plugin::TmplParamsBinder

Sledge::Plugin::TmplParamsBinder module can bind dispatcher's lexical variables to template.
Download

Sledge::Plugin::TmplParamsBinder Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • MATSUNO Tokuhiro
  • Publisher web site:
  • http://search.cpan.org/~tokuhirom/Sledge-Plugin-TmplParamsBinder-0.01/lib/Sledge/Plugin/TmplParamsBinder.pm

Sledge::Plugin::TmplParamsBinder Tags


Sledge::Plugin::TmplParamsBinder Description

Sledge::Plugin::TmplParamsBinder module can bind dispatcher's lexical variables to template. Sledge::Plugin::TmplParamsBinder module can bind dispatcher's lexical variables to template.SYNOPSIS package Your::Pages; use Sledge::Plugin::TmplParamsBinder; sub dispatch_foo { my $self = shift; my $scalar = 'blah blah'; my $array_ref = ; my $hash_ref = {a => 'b'}; my @array = qw(a b c); my %hash = (aa => 11, bb => 12); $self->tmpl->bind; } # This code is equivalent to: sub dispatch_foo { my $self = shift; $self->tmpl->param( scalar => 'blah blah', array_ref => , hash_ref => {a => 'b'}, array => , hash => {aa => 11, bb => 12}, ); } Requirements: · Perl


Sledge::Plugin::TmplParamsBinder Related Software