Running with use strict enabled is always recommended (Listing 3).
建议总是通过use strict运行(见清单3)。
Without "use strict" you can encounter the following kinds of problems.
如果没有做到这一点,则有可能遇到下面这样的问题。
This is basic bookkeeping; it states that we require Perl 5.006, that we like to use strict variable checking and warnings, and that we will export the invlist() and data_from_invlist() functions.
这是基本的部分;它声明了程序需要 Perl 5.006 来解释执行,要求进行严格的变量检查和警告,还有我们将要导出 invlist() 和 data_from_invlist() 函数。
应用推荐