in reply to Perl Code in HTML

I think you ought to look at the CGI Programming section of the web programming tutorials.

You can definitely add this functionality to your website, but it's not likely that you will be adding Perl code into an HTML page. You need to set up your Perl script to output the entire web page. Another option is to use Server Side Includes.

Update: You can embed Perl in text files using ePerl if you really want to, but I'm not sure how well (if at all) that package works.

Replies are listed 'Best First'.
Re^2: Perl Code in HTML
by perrin (Chancellor) on Jan 29, 2009 at 17:49 UTC
    Don't use ePerl. It's a long-dead project. There are many ways to add perl code to HTML, including Mason, Template Toolkit, and many others. I wrote about them here.
      I personally would not use perl for this, but rather php. Don't know if it's taboo to say that on perlmonks, but that's just my opinion.
        Well, it's taboo to say that without giving some kind of sane reason. The poster knows perl and likes it, perl can be embedded in HTML, so what are you saying?