[Melbourne-pm] Run Perl Script from HTML

Scott Penrose scottp at dd.com.au
Thu Sep 24 04:41:49 PDT 2009


Hi Gerd

You have to have some form of code on the server to enable you to run  
Perl.

E.g. you can embed perl, similar to PHP into an HTML page if you  
enable something like Mason, Template, or other server side code.
You could also consider executing script with SSI (Service Side  
Include) if that can be enabled via Apache.
Or of course you can just enable a CGI, and embed it using one of many  
methods, one of which could even be an iframe.

Otherwise I can see no way in HTML to embed something.

Now, because you mentioned Workstations, there may be an alternative,  
e.g. XUL - I don't think you can do it directly with HTML on a  
browser, but maybe with XUL in Firefox.

Another way, depending on the technology, like where you get the data,  
could be by another language, such as XSL or Javascript, both of which  
can work directly in browsers.

Can yo provide us with some more information.

Scott

On 24/09/2009, at 9:02 PM, Gerd Berner wrote:

> Hello All
>
> I have a simple one page HTML application that I want to distribute  
> to a number of workstations (that will not have a HTTP server  
> installed).  The page has a graph which I want to be able to refresh  
> using a perl script, but I havent been able to find a way to execute  
> the perl script via a button on the page, without any help from CGI.
>
> Any help appreciated.
>
>
> Cheers
>
> Gerd
> _______________________________________________
> Melbourne-pm mailing list
> Melbourne-pm at pm.org
> http://mail.pm.org/mailman/listinfo/melbourne-pm



More information about the Melbourne-pm mailing list