I despise the PHP language, and I\'m quite certain that I\'m not alone. But the great thing about PHP is the way that mod_php takes and hides the gory details of integrating wi
The closest, well-regarded equivalent to PHP in Perl is probably HTML::Mason.
Like PHP, it embeds Perl into your document and renders it:
% my $noun = 'World'; Hello <% $noun %>! How are ya?
The O'Reilly book Embedding Perl in HTML with Mason is available online for free.