From: Stefan Schantl Date: Tue, 24 Nov 2015 12:26:34 +0000 (+0100) Subject: Enable and use the warnings core module. X-Git-Tag: 2.0~72 X-Git-Url: http://git.ipfire.org/?p=people%2Fstevee%2Fguardian.git;a=commitdiff_plain;h=5c694317ed8e504ee4b507281029a77bd0c5de4d Enable and use the warnings core module. When using the warnings module, perl will display a lot of usefull informations when launching the script and therefore helps to improve the code. Signed-off-by: Stefan Schantl --- diff --git a/guardian b/guardian index af5caeb..2928773 100644 --- a/guardian +++ b/guardian @@ -31,6 +31,8 @@ require Guardian::Config; require Guardian::Parser; require Guardian::Socket; +use warnings; + # Define version. my $version ="2.0";