in reply to Setting up client-side perlscript

A "browser" can't run things. Set up a webserver, or maybe even a mini-webserver using HTTP::Daemon, and hook URLs to scripts via CGI. Then point your browser at your server.

Make sure your webserver is bound to localhost (127.0.0.1), and not to a routable IP address (or wildcard), or else you'll have to think about all sorts of security issues. {grin}

-- Randal L. Schwartz, Perl hacker

  • Comment on •Re: Setting up client-side perlscript

Replies are listed 'Best First'.
Re: •Re: Setting up client-side perlscript
by abell (Chaplain) on Sep 29, 2002 at 15:48 UTC
    A "browser" can't run things.

    Actually most browsers do run things, be it javascript, java or the oh-so-scary MS vbscript stuff. Not to mention Emacs, which is among other things a browser and can run almost anything.

    This said, you could write a perl interpreter written in javascript, or even better a javascript linux-emulation layer and execute perl on top...

    I'd offer more solutions to this problem, but this one-sleeved shirt makes typing very hard.

    The stupider the astronaut, the easier it is to win the trip to Vega - A. Tucket