./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-2013Q3, Version: 1.004004nb1, Package name: p5-strictures-1.004004nb1, 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: 65dc8043e8d965f2772cb477631f21496dcaf4e9
RMD160: e9638bdb9621637b457f039913185f1fcf012aa4
Filesize: 8.347 KB

Version history: (Expand)