./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-2015Q3, Version: 2.000001, Package name: p5-strictures-2.000001, 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: 8e726e301ddd1ca0c0fcdd0ad16980eb19c67299
RMD160: a045be4f2609785763cfcb59ef586816716f39eb
Filesize: 12.392 KB

Version history: (Expand)