Then how come if I call the Perl script by itself (on the command line and NOT from my C program), it prints "HELLO-Hello-HELLO" with no blank to stdout?
I set the content-type explicitly in the webserver to return content as "text/plain". I am just trying to print out simple text and nothing else. I want the format to be latin1/iso-8859-1. I want to get the same behavior as if I simply issued a "print $var" command as in the original posting example. I'm getting two different behaviors that I don't think i should expect to get.