in reply to Recieving data in the body

Do you control the CGI that you're sending data to? Are you using CGI? If not, you should be. It handles all this stuff for you.

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

Note: All code is untested, unless otherwise stated