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

Re: [MacPerl] User Agent will not receive response ?



At 11.19 +0100 1999.08.02, Julian Madle wrote:
if ($response ->is_success) {$gotit = $response->content();print
"Content-Type: text/html\n\n$gotit"}
else {print "Content-Type: text/html\n\nThis script has malfunctioned!"};

\n is not what you apparently think it is.  See man perlport (comes with
5.004_05 or greater, and on http://pudge.net/macperl/) for more information.

This may or may not be your problem.  Some servers, I imagine, will accept
a Mac newline, and some won't.

-- 
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])


===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org