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

Re: [MacPerl] [ACGI] MacPerl'Reply



At 14.52 1998.03.23, Steven J. Stratford wrote:
>I'm playing around with Sandra Silcot's ACGI code. Why do you suppose this
>command
>
>&MacPerl'Reply("$HEADER_200$STARTHTML$REPLY$ENDHTML");
>
>returns this
>
>Error receiving results from ACGI execution. (-1700)
>
>from WebStar to the browser? Error -1700 is "(Reply Data could not be
>coerced to requested type (char)) ". When I change "&MacPerl'Reply" to
>"print" and recompile as a plain cgi, the appropriate message is displayed
>in the browser, so I'm pretty sure what's in the quotes is just fine.
>
>I'm using MacPerl 5.1.8r4, MacOS 8.1, Webstar 2.1.

You USED to use MacPerl::Reply() for this, but that is old and deprecated.
Just print what you need.

Also, check out the CGI chapter for review in the upcoming MacPerl book.

    http://www.ptf.com/macperl/ptf_book/draft.html

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])
#==               New Book:  MacPerl: Power and Ease               ==#
#==    Publishing Date: Early 1998. http://www.ptf.com/macperl/    ==#



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