Perl语法错误 - elseif应该是elsif at

twa*_*ain 4 syntax perl

我需要在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.
Run Code Online (Sandbox Code Playgroud)

整个文件可以在这里找到:http: //pastebin.com/7r5pfW5y

任何帮助是极大的赞赏!

TLP*_*TLP 13

你拼错了elsif.它不是else- if,删除额外的e,你应该没事.

  • 如果此答案回答了您的问题,则应使用左侧的复选标记进行标记. (2认同)