in reply to Firefox Script

The Active Perl docs say:

PerlScript is an ActiveX scripting engine that allows you to use Perl with any ActiveX scripting host. At this time, ActiveX scripting hosts include:

Internet Information Server 3.0/4.0/5.0
Peer Web Services 3.0/4.0
Microsoft Internet Explorer 5.0x
Windows Scripting Host

Replies are listed 'Best First'.
Re^2: Firefox Script
by langdona (Initiate) on Jan 25, 2008 at 17:59 UTC
    Ah well missing the obvious.
    Looks like its back to Javascript then!
    So I assume this means there is no way of running and veiwing PerlScript webpages from a Linux box? I just assumed that everything Perl was multiplatform.

    By the way I have no problems running Perl routines on the server from Firefox and receiving output HTML back.

    Anyway
    Thanks
      If you are persistent enough you can find a way to run Perl scripts in Firefox. I've used Javascript + XPCOM to open sockets to a Perl RPC service I created which will allow Javascript to make calls to Perl subroutines. I used it to wrap (partially) DBI methods so I could talk to real databases from Javascript. I also utilized a <perl> tag to embed Perl in the XUL. The RPC client (written in Javascript) has a method that will extract the Perl code on page load and send it to perl to be executed. The technique does not allow Perl to replace Javascript, but allows Javascript to take advantage of some of Perl's strengths.