3 # You might post large amount of data to this script. It will read
6 { local($!) = 1; print "Content-Type: text/plain\n\n"; }
8 $len = $ENV{CONTENT_LENGTH};
15 $size = 20; # chunk size
22 $n = sysread(STDIN, $b, $size);
29 print "$bytes bytes read\n";