in reply to embperl tips?

One tip: do not put business logic of your application into HTML pages. Use perl code only for HTML generation and put business logic into Perl modules. It helps to keep perl code at minimum level in templates which is good for logic/presentation separation.

--
Ilya Martynov (http://martynov.org/)