in reply to Embperl Abandonment Issues

When browsing CPAN, I found Apache::ASP and that module allows you to embed Perl code in your webpage, but it runs only on Apache-servers. I'm not using it (strictly Catalyst and Template::Toolkit here) so I cannot vouch for its quality, but it doesn't look bad.

If you only need to execute Perl-code in your webpage, Template::Toolkit allows this through its "PERL" and "RAWPERL" directives.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James