X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-CGI-Ex;a=blobdiff_plain;f=lib%2FCGI%2FEx%2FApp.pod;fp=lib%2FCGI%2FEx%2FApp.pod;h=a359a4754495020a20133f0e20375e0e4addde33;hp=8280b95882c65d716cce73da1d0a9a133394bbfc;hb=80a766126b7d0281ee013d369d9e6af45cc2cf42;hpb=8cd30501f5be7e40e26b3dc885dfe25520d39df9 diff --git a/lib/CGI/Ex/App.pod b/lib/CGI/Ex/App.pod index 8280b95..a359a47 100644 --- a/lib/CGI/Ex/App.pod +++ b/lib/CGI/Ex/App.pod @@ -2182,6 +2182,13 @@ method as follows: return $t->output; } +As of version 2.13 of CGI::Ex::Template you could also simply do the +following to parse the templates using HTML::Template::Expr syntax. + + sub template_args { + return {SYNTAX => 'hte'}; + } + =item template_args (hook) Returns a hashref of args that will be passed to the "new" method of CGI::Ex::Template.