The "premature end of headers" script generally implies that the script failed to compile due to a syntax error. You are lacking "-w" and "use strict;" which will help you locate any errors that the perl interpreter finds prior to running your program.
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain