Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/perl/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
CGI Perl中的sendmail错误_Perl_Cgi_Sendmail - Fatal编程技术网

CGI Perl中的sendmail错误

CGI Perl中的sendmail错误,perl,cgi,sendmail,Perl,Cgi,Sendmail,嗨,有人知道CGI吗?我在CGI中发布表单详细信息时遇到问题。 这将是显示以下内容的错误: 软件错误: syntax error at ./init.cgi line 90, near "$cf" Compilation failed in require at /home/delphis/html/cust/campaign/postmail.cgi line 17, <DATA> line 855. For help, please send mail to the webmas

嗨,有人知道CGI吗?我在CGI中发布表单详细信息时遇到问题。 这将是显示以下内容的错误:

软件错误:

syntax error at ./init.cgi line 90, near "$cf"
Compilation failed in require at /home/delphis/html/cust/campaign/postmail.cgi line 17, <DATA> line 855. For help, please send mail to the webmaster (sample@sample.com), giving this error message and the time and date of the error.
第90行:$cf{send_fcmd}=0

postmail.cgi

# Ý’èƒtƒ@ƒCƒ‹”FŽ¯
require "./init.cgi";
my %cf = init();
第17行require./init.cgi


我不认为这是服务器错误,也不认为这是关于如何在CGI/PERL中处理sendmail的语法错误;在这一行的末尾:

$cf{sendmail} = '/usr/sbin/sendmail'
$cf{sendmail} = '/usr/sbin/sendmail'