bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] CGI script prints instead of executing when FILE_IO is co


From: alexweiner
Subject: Re: [Bug-apl] CGI script prints instead of executing when FILE_IO is co pied in
Date: Wed, 23 Sep 2015 18:30:38 -0700
User-agent: Workspace Webmail 5.15.9

Sorry Please Disregard. 

-------- Original Message --------
Subject: CGI script prints instead of executing when FILE_IO is co pied
in
From: <address@hidden>
Date: Wed, September 23, 2015 6:23 pm
To: address@hidden

Hi Bug-APL,

It appears that this script works if FILE_IO is not copied in. When the FILE_IO is copied in, it appears that the cgi script runs but prints the HTML to the page. Is FILE_IO 's existence in the program make the script run under different conditions? (or is it possible there is something wrong in the non-APL part of the CGI interaction, in which case I'll troubleshoot elsewhere.)


#!/usr/local/bin/apl --script --
0 0 ⍴ ⍎')COPY /usr/local/lib/apl/wslib5/FILE_IO.apl'
0 0 ⍴ ⍎')COPY 5 HTML'
A←⎕arg
xTITLE←'You got here!'
xDESCRIPTION←'Congrats!'
yBODY←(,¨'{}') ⎕INP 'END-OF-⎕INP'

{A}
END-OF-⎕INP
HTML∆emit HTML∆Document
)off


-Alex


 

reply via email to

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