学习调试是一个很重要的一个技能。 perl启动调试 perl -d example.pl 参考来源: Perl篇:常用调试命令 功能丰富的 Perl:轻松调试 Perl Logical Operators: logical OR operator(||)