>From reading the archives I've concluded that the read function is usually used for getting posted data into a cgi script, like this: read(STDIN, $Var, $ENV{"CONTENT_LENGTH"}) I have a problem, however, in that the program sending data to the CGI (Authorware Shockwave) does not provide data for the CONTENT_LENGTH variable. I need some other way of reading in the data from <STDIN>. I've tried: while (<STDIN>) { $string = $string . <STDIN>; } but that doesn't work; it seems to get itself into a loop and eventually time out. Is there another way that I can get the cgi to step through <STDIN> until it's empty? My brain hurts! SeanC Mediatek Training Institute 1st Floor Media Park, 129 Moore Road, Berea, Durban, South Africa phone: +27 (0)31 305 4200 SeanC@mediatek.co.za fax: +27 (0)31 305 4236 Mediatek@global.co.za ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch