hemusc has asked for the wisdom of the Perl Monks concerning the following question:
Hi, My name is Hemanth and i am very new to perl script. We came across this error when one user trying to run some report. here is the error message - "malformed header from script. Bad header=**** Unable to open the initia: glcashbyfund.pl, referer: http://cgi.portseattle.org/mis/gl/glactivityreportmenu.html". I did compare this script with other working ones and syntax is same. so not sure how i can debud this error. I am very new to this scripting so any help will appreciated. some code snippet from glcashbyfund.pl Let me know if you need any more information. Thanks, Hemanth
#!/usr/bin/perl #===================================================================== +======== # Includes and Parses input to script, e.g. I'net FORM data #===================================================================== +======== use CGI; use CGI::Carp qw(fatalsToBrowser); use Sybase::CTlib; require "/var/www/html/mis/include/cgi-lib.pl"; #require "/var/www/html/mis/include/config_fsprod.inc"; require "/var/www/html/mis/include/config_fsrpt.inc"; &ReadParse;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Malformed header error
by ikegami (Patriarch) on Jul 14, 2011 at 21:09 UTC | |
|
Re: Malformed header error
by Marshall (Canon) on Jul 14, 2011 at 19:39 UTC | |
|
Re: Malformed header error
by Logicus (Initiate) on Jul 14, 2011 at 20:43 UTC | |
|
Re: Malformed header error
by Anonymous Monk on Jul 15, 2011 at 00:42 UTC | |
|
Re: Malformed header error
by mpeppler (Vicar) on Jul 19, 2011 at 09:29 UTC |