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

Re: [MacPerl] Help Request



"Document contains no data." usually means the browser has timed out
waiting for a response from the CGI/server. Perhaps your search for the
course ID is taking longer than the browser is willing to wait. The
solution in this case is to flush output immediately. Near the top of
your script insert the line:

   $| = 1;   # flush output

This will flush the "Content-type:" line and thus make the browser
happy. $| is documented under the Predefined Variables section of
MacPerl's Help files. 

-- 
----------------------------------------
--- Tom Kennedy -- tomKenn@erols.com ---
----------------------------------------
"The essence of success is that it is never necessary to 
think of a new idea oneself. It is far better to wait 
until somebody else does it, and then to copy him in 
every detail, except his mistakes" - Aubrey Menen



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch