Thanks for the quick response. I tried your suggestion, but got the same result where only a few of the (jibberish) characters were returned, ÐÏࡱ
I didn't post the contents of test.pl because it can really be anything. The real code will does a substitution for host name and IP after it gets past (supposed to get past) the header, but for the test I just have rem statements in test.pl since it is my understanding that the command line does the while <> operation and print loop.