guile-user
[Top][All Lists]
Advanced

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

CGI scripting with Guile


From: Sebastian Tennant
Subject: CGI scripting with Guile
Date: Sun, 16 Mar 2008 00:10:11 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Hi list,

This CGI script:

 #!/usr/bin/guile -s
 !#
 (display "Content-Type: text/plain

 hello world")


works.


But this CGI script:

 #!/usr/bin/guile -s
 !#
 (use-modules (www cgi))
 (display "Content-Type: text/plain

 hello world")


doesn't.

Why doesn't the second script work?  The additional line works in a
guile process running on the server.

Sebastian





reply via email to

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