Your program couldn't open the file and died before it printed the header. I'm sure if you look in the error log you'll see the message.
If you print the header before you try to open the file, you won't see the 500 error.
In reply to Re^3: Print Header in Perl v5.8.7
by chromatic
in thread Print Header in Perl v5.8.7
by Gorby
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |