At 11.58 1998.02.18, Josh Gemmell wrote: >Wow. That was simple. Thanks, Matthias. I guess, then, that the only way to >have cross-platform compatibility for these types of scripts is to use >"\015\012" explicitly rather than "\r\n". Oh, well. It's a small price to pay >for something that works! As pointed out by Peter Prymmer, this is not even good enough; EBDIC systems apparently need \r\n. But the CGI.pm module takes care of all this; I recommend using it, as it is now bundled with perl. use CGI; $x = new CGI; print $x->header('text/plain'); print $x->redirect('http://pudge.net/'); etc. -- 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