in reply to How to use Perl in HTML Template?
Template::Tools::tpage, Template::Manual::Directives#PERL$ cat temp.tt [% PERL %] [ print "Hello!!";] [% END %] <html> <title> This is Example of using perl with HTML </title> </html> $ tpage temp.tt perl error - EVAL_PERL not set $ tpage --eval_perl temp.tt undef error - syntax error at (eval 11) line 3, at EOF $ cat temp.tt [% PERL %] print "Hello!!"; [% END %] <html> <title> This is Example of using perl with HTML </title> </html> $ tpage --eval_perl temp.tt Hello!! <html> <title> This is Example of using perl with HTML </title> </html> $
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to use Prel in HTML Template??
by Sachin (Acolyte) on Nov 03, 2009 at 10:46 UTC | |
by dsheroh (Monsignor) on Nov 03, 2009 at 11:21 UTC | |
by Anonymous Monk on Nov 03, 2009 at 12:08 UTC |