Hello, I am having a lot of trouble with getting a file to load. When i try it says internal server error.
When i go to error logs to check what the problem is, it say premature ending of script headers.

I tried changing the permissions to 755.
I think i fixed all the syntax errors.

it still won't work. :(

Here is the page
Code:
#!/usr/bin/perl

use 5.006;
...