From: Matt S Trout Date: Thu, 29 Mar 2012 19:43:37 +0000 (+0000) Subject: remove last strictures dependency X-Git-Tag: v1.000000~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3ca7ff568374c3c7c374f0347e7a26026db316e0;p=gitmo%2FRole-Tiny.git remove last strictures dependency --- diff --git a/lib/Role/Tiny.pm b/lib/Role/Tiny.pm index a99c90a..7b6335d 100644 --- a/lib/Role/Tiny.pm +++ b/lib/Role/Tiny.pm @@ -40,7 +40,8 @@ sub _load_module { sub import { my $target = caller; my $me = shift; - strictures->import; + strict->import; + warnings->import(FATAL => 'all'); return if $INFO{$target}; # already exported into this package # get symbol table reference my $stash = do { no strict 'refs'; \%{"${target}::"} };