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> $
In reply to Re: How to use Perl in HTML Template?
by Anonymous Monk
in thread How to use Perl in HTML Template?
by Sachin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |