http://www.perlmonks.org?node_id=507317

vishi83 has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks !!

To check the bad style of our perl script , we can use perltidy and checkstyle..

I need something similar for html (especially the templates *.tmpl files ). When searched for such an utility i noticed a thing called 'tidy' in sourceforge.net. But this tidy cleans up only a pure html file, very effective though. But when i use this tidy to check my .tmpl files , it says ,

line 14 column 25 - Error: <tmpl_var> is not recognized!...

You can check this yourself ...

jus give this..
tidy -o output.html source.html

But i need some utilites for templates.. Can anybody with better ideas for this ...

Thank YOu!!!
vishi

A perl Script without 'strict' is like a House without Roof; Both are not Safe;