然后,它使用再熟悉不过的开关语句来决定错误等级并相应打造与该等级相适应的错误消息。
Then it uses the all-too-familiar switch statement to determine the error level and craft an error message appropriate to that level.
到目前为止您已经了解了- e和-M开关所起的作用:导入模块和运行语句。
So far you have seen the -e and -m switches in action: import a module, and run a statement.
如果没有这个调用,或者等效的- c开关,perl就会打印一个打印语句中有宽数据的警告信息(详细信息请参阅perldocperlunicode和perldocperlrun)。
Without it, or the equivalent -c switch, perl prints a warning about wide data in the print statement (see perldoc perlunicode and perldoc perlrun for details).
如果没有这个调用,或者等效的- c开关,perl就会打印一个打印语句中有宽数据的警告信息(详细信息请参阅perldocperlunicode和perldocperlrun)。
Without it, or the equivalent -c switch, perl prints a warning about wide data in the print statement (see perldoc perlunicode and perldoc perlrun for details).
应用推荐