Aha! This seems to be the answer. Check out MicroWeb, a PC product that promises to "Create a working web site on a CD-ROM." It's from the same company as IndigoPERL.
http://www.indigostar.com/microweb.htm Still no Mac solution, alas. Timothy_Spalding@ hmco.com To: "Scot Robnett" <[EMAIL PROTECTED]> cc: [EMAIL PROTECTED], [EMAIL PROTECTED] 07/23/2002 11:54 Subject: RE: Running CGIs offline AM Right. I have a deep faith that a skilled Unix hacker could run CGIs on a toaster. But I'm looking for something for someone who has trouble running toast on a toaster. Here's something one could do, at least with MacPerl 1. create Macperl runtime 2. have the HTML link to this runtime 3. the runtime writes an HTML page 4. the runtime launches the document it wrote, dumping it in the browser I presume the same sort of thing can work on a PC, but I don't find this a very elegant or robust way of doing things. For another thing, how do you send information from the browser (ie. a form), and have the Perl runtime *receive* it. If all you can do it trigger imput-less scripts, you might as well not do it. The only way I could think of doing it would be if the HTML put the form response into the URL, and the Perl runtime *read the browser's history file*. How's that for a way-off idea? To open the problem somewhat, I want to produce a CD based on HTML, which interacts easily with locally-stored files. Javascript and Java applets have sandboxes. Server-side PERL can read and write files to its heart's content, and I like writing it. On the other hand a Perl interpreter browser plug-in, would probably raise security problems. Thanks for all these great comments, Tim "Scot Robnett" <[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> v> cc: Subject: RE: Running CGIs offline 07/23/2002 11:26 AM Although these are good suggestions, I think they miss the original intention. We were looking for something that we could distribute on CD and have it run, regardless of whether the user had Perl or a web server installed on their workstation. And then Bob Showalter said: -----Original Message----- From: Bob Showalter Sent: Monday, July 22, 2002 1:13 PM Subject: RE: Running CGIs offline HTTP::Daemon, part of Bundle::libwww Scot R. inSite -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 4:36 AM To: [EMAIL PROTECTED] Subject: RE: Running CGIs offline Not sure what you're after, but to run CGI's offline, you can just: 1) Install a Perl distribution (Indigo Perl or Active Perl are simple) 2) Whack Apache on your box (comes as binary for most OS's) - I found the Bindows version simple to install and run. - Just tell it where your perl install is, etc. It was all so simple I can't really remember exactly and away you go: 'http://localhost/cgi-bin/script.pl' Never look back. Obviously there are still a few differences between running locally and on a live webserver, but it's a step closer... HTH someone, TommyGun. -----Original Message----- >From : Scot Robnett <[EMAIL PROTECTED]> To : David T-G <[EMAIL PROTECTED]>; perl beginners cgi <[EMAIL PROTECTED]> CC : Bob Showalter <[EMAIL PROTECTED]>Date : 22 July 2002 19:48:17 Subject : RE: Running CGIs offline Just a note to throw in my own WOOOHOOOO!!!! :) >Gotta try it. > >Scot R. >inSite > > > >-----Original Message----- >From: David T-G [mailto:[EMAIL PROTECTED]] >Sent: Monday, July 22, 2002 1:22 PM >To: perl beginners cgi >Cc: Bob Showalter >Subject: Re: Running CGIs offline > > >Bob, et al -- > >....and then Bob Showalter said... >% >% > -----Original Message----- >% > From: David T-G [mailto:[EMAIL PROTECTED]] >.... >% > You know, it never hurts to check CPAN; maybe someone has >% > already written >% > a little web server in perl :-) >% >% HTTP::Daemon, part of Bundle::libwww > >Way cool. Awesome. I should have looked myself :-) but it only occurred >to me as I was answering him. Can't wait to install this sucker; this'll >be good. > > >Thanks! & HAND > >:-D >-- >David T-G * It's easier to fight for one's principles >(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie >(work) [EMAIL PROTECTED] >http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! > > > >-- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > -- Personalised email by http://another.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]