./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-2015Q4, Version: 2.000002, Package name: p5-strictures-2.000002, 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


Required to run:
[lang/perl5]

Master sites: (Expand)

SHA1: 40fa08fd4d2d38431f545a3555d829bbc1ee23f7
RMD160: cfb06d9bf0fca8f864dfd4890f885dd064d15894
Filesize: 14.829 KB

Version history: (Expand)