... 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"'

In reply to Re^2: perl inside HTML by turo
in thread perl inside HTML by ramigi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.