From: Graham Knop Date: Sat, 1 Mar 2014 06:53:19 +0000 (-0500) Subject: correctly apply fatal warnings to caller X-Git-Tag: v0.002000~25 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2852faf3af885b99e427a85b5908ff8a750e5f8a;p=p5sagit%2FDistar.git correctly apply fatal warnings to caller --- diff --git a/lib/Distar.pm b/lib/Distar.pm index a06fb3f..106e3ff 100644 --- a/lib/Distar.pm +++ b/lib/Distar.pm @@ -17,7 +17,8 @@ our @EXPORT = qw( ); sub import { - strictures->import; + strict->import; + warnings->import(FATAL => 'all'); shift->export_to_level(1,@_); }