in reply to Re^2: Perl Code in HTML
in thread Perl Code in HTML

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.

Replies are listed 'Best First'.
Re^4: Perl Code in HTML
by perrin (Chancellor) on Jan 29, 2009 at 19:29 UTC
    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?

      I am assuming he would rather use php because it is less work to implement -- rename the file to .php and put <?php echo "hurrr"; ?> somewhere in the file.

      And you didn't even know bears could type.

        But you skipped the "find out out how PHP is set up on your ISP" and "learn PHP" steps. Setting up Mason could be a challenge for a n00b, but it's not hard to write a basic CGI script that uses templates, and you learn some really useful things about HTTP by doing it.