Which safety net do you use in Perl?

后端 未结 5 1940
庸人自扰
庸人自扰 2020-12-10 15:50

Which safety net do you use?

use warnings;

or

use strict;

I know that

5条回答
  •  情深已故
    2020-12-10 16:40

    Both, of course. If perl were designed today, use strict and use warnings would be the default behavior. It's just like having warnings turned on in a compiler - why would you not do that by default?

提交回复
热议问题