./devel/p5-strictures, Perl 5 pragma to turn on strict and make all warnings fatal

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2020Q3, Version: 2.000006nb2, Package name: p5-strictures-2.000006nb2, Maintainer: pkgsrc-users

p5-strictures provides "strictures" directive.

use strictures 1;

is equivalent to

use strict;
use warnings FATAL => 'all';

except when called from a file where $0 matches:

/^x?t\/.*(?:load|compile|coverage|use_ok).*\.t$/

and when either '.git' or '.svn' is present in the current directory


Master sites: (Expand)

SHA1: 62f6f7ab4df1d043e6c7d3fb22c8bfb716b3cb27
RMD160: f2566a0b2f7f27c000c7df60474791bd2ff52f37
Filesize: 21.98 KB

Version history: (Expand)