in reply to Re: perl inside HTML
in thread perl inside HTML

... embperl? ... this code runs in the server side, like php, or a simple perl-cgi ... and ramigi whas asking for a 'client-side' perl interpreter included in the web browser; like javascript, vbscript (on the iexplorer) or others.

I'm affraid that the solution is to install a plugin to support this web-browser-perlish comprehension(like the activeperl's one, mentioned by Corion) ...

Maybe we must propose to the mozilla-firefox guys to give developpers a way to give this support ... it would be funny to program client-side perl scripts managing the obscure DOM as you want ...
... i imagine thinks like this:

<script language='perl'> use Dumpvalue; my $dump = new Dumpvalue; $dump->dumpValue(\@document); #prints the DOM :-P </script>

hahahaha

Regards :-P

turo

perl -Te 'print map { chr((ord)-((10,20,2,7)[$i++])) } split //,"turo"'

Replies are listed 'Best First'.
Re^3: perl inside HTML
by samizdat (Vicar) on Dec 16, 2005 at 13:34 UTC
    To expand on turo's post, HTML::Embperl is a server-side tool for mixing Perl and HTML, although it's more like PHP than JavaScript. See also the Embperl home page. I use it extensively and it makes transaction-oriented web systems really easy. I also wish there were a replacement for javascript, but, well, somebody's going to have to write one. :) I just embed JS calls and code in the Embperl header files and the main HTML file when I need to do browser-side validation and such.

    Don Wilde
    "There's more than one level to any answer."