in reply to Embedding Perl into HTML

Consider CGI::FastTemplate. If your hosting provider doesn't have it installed, you can just drop it somewhere accessible in your account's space and use lib('path/to') to get at it.