in reply to reading CGI form data

Your code in getHTTPdata is broken. Although it will work in most cases, it fails to handle many of the "corner cases" that are common in CGI programming. See use CGI or die; for more details on that.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg