in reply to Re: Embedded perl in html
in thread Embedded perl in html

ok, here comes the newbie in me ;-) So this directive is stating that the processing is done on the client side? Is there any (legitimate) way to have embedded perl i nhtml execute on the server side?

Replies are listed 'Best First'.
Re^3: Embedded perl in html
by shmem (Chancellor) on Apr 12, 2007 at 20:51 UTC
    So this directive is stating that the processing is done on the client side?

    Since this directive is found in the HTML that the browser processes, it's for the client side. Otherwise you wouldn't see it, because it would have already been processed on the server side :-)

    For server side embedding perl in HTML, see e.g. HTML::Mason and eperl, for indirect embedding, see e.g. HTML::Template and Template::Manual::Intro.

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
Re^3: Embedded perl in html
by Trizor (Pilgrim) on Apr 12, 2007 at 20:45 UTC
    With apache you can either use simple CGI scripts and the CGI module. If you're looking for a more advanced way to do things there is mod_perl, an countless modules built on it on CPAN. I'm not sure what you're trying to do with server side scripting so I can't point you to a more specific tutorial.