./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-2018Q2, Version: 2.000005, Package name: p5-strictures-2.000005, 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: 7b3675d7d9482f19093b94074d124d82c4c9bd2a
RMD160: 38b03c8732febb3c0aac12da5a0afc7147bfb980
Filesize: 15.348 KB

Version history: (Expand)