Why are use warnings; use strict; not default in Perl?

前端 未结 6 1661
北海茫月
北海茫月 2020-12-03 10:00

I\'m wondering why

use warnings;
use strict;

are not default in Perl. They\'re needed for every script. If someone (for good reason) need

6条回答
  •  半阙折子戏
    2020-12-03 10:21

    Both warnings and strict will finally be default (along with some Perl 5 features that were not defaults) with Perl 7. It is expected to be released in the first half of 2021 (with a release candidate maybe around the end of 2020). Maybe it will be out around May 18th to mark the 10 year anniversary of this question? Better late than never!

提交回复
热议问题