chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Spiffy cgi usage


From: Peter Bex
Subject: Re: [Chicken-users] Spiffy cgi usage
Date: Thu, 27 Mar 2008 09:26:27 +0100
User-agent: Mutt/1.4.2.3i

On Thu, Mar 27, 2008 at 09:19:59AM +0100, felix winkelmann wrote:
> On Thu, Mar 27, 2008 at 6:31 AM, Matthew Welland <address@hidden> 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: pgpzXdsUiSu7h.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]