bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] CGI script prints instead of executing when FILE_IO is copied


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

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]