On Thu, Mar 27, 2008 at 09:19:59AM +0100, felix winkelmann wrote:
> On Thu, Mar 27, 2008 at 6:31 AM, Matthew Welland <[EMAIL PROTECTED]> wrote:
> > How to set up spiffy to directly execute cgi scripts. I.e. NOT by applying
> >  the interperter to the script:
> >
> >  Spiffy seems to want this:
> >
> >  /bin/perl script.pl
> >
> >  vs
> >
> >  script.pl with #!/bin/perl in the first line.
> 
> Yes, I think this is the case. I stumbled over this as well.
> Peter, is it possible to provide a more convenient way of running
> cgi scripts?

I suppose the docs just suck.  The interpreter is an optional argument
to the cgi-handler procedure.

You should just be able to say (cgi-handler "script.pl")

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

Attachment: pgpn0gL1K0VHs.pgp
Description: PGP signature

_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to