From: Graham Knop <haarg@haarg.org>
Date: Thu, 22 Jan 2015 01:42:55 +0000 (-0500)
Subject: update docs for current behavior
X-Git-Tag: v1.999_001~1^2~3
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d771b3bba61fbc847bb297319e0ce19c93823bb2;p=p5sagit%2Fstrictures.git

update docs for current behavior
---

diff --git a/lib/strictures.pm b/lib/strictures.pm
index 5bd43ec..22e3aff 100644
--- a/lib/strictures.pm
+++ b/lib/strictures.pm
@@ -331,12 +331,26 @@ Equivalent to:
 
   use strict;
   use warnings FATAL => 'all';
-  use warnings NONFATAL => 'deprecated', 'experimental';
+  use warnings NONFATAL => qw(
+    exec
+    recursion
+    internal
+    malloc
+    newline
+    experimental
+    deprecated
+    portable
+  );
+  no warnings 'once';
+
   # and if in dev mode:
   no indirect 'fatal';
   no multidimensional;
   no bareword::filehandles;
 
+Additionally, any warnings created by modules using L<warnings::register> or
+C<warnings::register_categories()> will not be fatalized.
+
 =head2 VERSION 1
 
 Equivalent to: