From: Michael Andreen Date: Fri, 29 Dec 2006 15:33:42 +0000 (+0000) Subject: fatal warnings X-Git-Url: https://ruin.nu/git/?a=commitdiff_plain;ds=sidebyside;h=4633e480fd5e37e999b67c3e86a9386870343d2e;p=ndwebbie.git fatal warnings --- diff --git a/planetNaps.pl b/planetNaps.pl index 8d8a384..91937fc 100644 --- a/planetNaps.pl +++ b/planetNaps.pl @@ -18,6 +18,8 @@ #**************************************************************************/ use strict; +use warnings FATAL => 'all'; +no warnings qw(uninitialized); $ND::TEMPLATE->param(TITLE => 'List planet naps'); diff --git a/resources.pl b/resources.pl index 486cc13..363d25e 100644 --- a/resources.pl +++ b/resources.pl @@ -18,6 +18,8 @@ #**************************************************************************/ use strict; +use warnings FATAL => 'all'; +no warnings qw(uninitialized); use POSIX; our $BODY; our $DBH;