Subject: | strictures enables fundamentaly broken fatal warnings and therefore is unusable |
Same problem as for module common::sense reported in ticket:
https://rt.cpan.org/Ticket/Display.html?id=122608
Due to broken fatal warnings in perl, and because strictures module enable broken fatal warnings, it is broken itself. Here is same example as from common::sense ticket:
$ touch /tmp/test
$ perl5.10.1 -MData::Dumper -e 'stat "/tmp/test"; eval { -l TEST; 1 }; print Dumper([stat _])'
$VAR1 = [];
$ touch /tmp/test
$ perl5.10.1 -MData::Dumper -e 'use strictures 2; stat "/tmp/test"; eval { -l TEST; 1 }; print Dumper([stat _])'
$VAR1 = [
25,
2977687,
33188,
1,
1000,
1000,
0,
0,
1501764352,
1501764352,
1501764352,
4096,
0
];
Please do not enable broken fatal warnings to make module usable. Thanks!