我需要在Perl代码中更改哪些内容?
perl -wc产量:
elseif should be elsif at cgitelnet-mod.pl line 410.
syntax error at cgitelnet-mod.pl line 411, near ")
{"
syntax error at cgitelnet-mod.pl line 444, near "else"
syntax error at cgitelnet-mod.pl line 453, near "}"
Illegal declaration of subroutine main::PrintDownloadLinkPage at cgitelnet-mod.pl line 461.
整个文件可以在这里找到: http://pastebin.com/7r5pfW5y
非常感谢任何帮助!
答案 0 :(得分:13)
你拼错了elsif
。它不是else
- if
,删除额外的e
,你应该没问题。
答案 1 :(得分:4)
你需要删除else中的第二个e ....与许多语言不同,Perl将其拼写为elsif