From: Graham Knop Date: Tue, 14 Jan 2014 13:05:58 +0000 (-0500) Subject: elaborate on strict and warnings X-Git-Tag: v1.003003~28 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=26b8d9298de7fb0b121b766469202a1e442c881a;p=gitmo%2FRole-Tiny.git elaborate on strict and warnings --- diff --git a/lib/Role/Tiny.pm b/lib/Role/Tiny.pm index 729438b..424faf8 100644 --- a/lib/Role/Tiny.pm +++ b/lib/Role/Tiny.pm @@ -504,9 +504,6 @@ a method since this conflict indicates a potential problem. =head1 IMPORTED SUBROUTINES -In addition to importing subroutines, using C applies L and -L to the caller. - =head2 requires requires qw(foo bar); @@ -566,6 +563,15 @@ L is lazily loaded and we do not declare it as a dependency. If your L role uses modifiers you must depend on both L and L. +=head2 Strict and Warnings + +In addition to importing subroutines, using C applies L and +L to the caller. It's possible to +disable these if desired: + + use Role::Tiny; + use warnings NONFATAL => 'all'; + =head1 SUBROUTINES =head2 does_role