./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-2014Q4, Version: 1.005005, Package name: p5-strictures-1.005005, 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: 4e61bbe2777bbf34f09b22434b12515896e45a91
RMD160: 5ef59f9cea658d61a4922b4e27ac7441eddcba30
Filesize: 10.198 KB

Version history: (Expand)