The advantage of running the script from the command line is that you often get a more descriptive error message, including line number where the error occurred.
I would say that ninety-nine percent of the time I get the premature-end-of-header CGI error the problem has nothing to do with CGI and the script won't run from the command line either.
In reply to Re: Perl/Apache Error
by sierrathedog04
in thread Perl/Apache Error
by fastkeys
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |