[Koha-patches] [PATCH] Bug 2505: Enabled warnings in tools-home.pl, holidays.pl, exceptionHolidays.pl, and newHolidays.pl

Garry Collum gcollum at gmail.com
Fri Sep 11 17:26:57 CEST 2009


Tested for warnings after addition of 'use warnings.' No warnings were generated.
---
 tools/exceptionHolidays.pl |    2 ++
 tools/holidays.pl          |    2 ++
 tools/newHolidays.pl       |    2 ++
 tools/tools-home.pl        |    2 ++
 4 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/tools/exceptionHolidays.pl b/tools/exceptionHolidays.pl
index c820a92..64a4860 100755
--- a/tools/exceptionHolidays.pl
+++ b/tools/exceptionHolidays.pl
@@ -1,6 +1,8 @@
 #!/usr/bin/perl
 
 use strict;
+use warnings;
+
 use CGI;
 
 use C4::Auth;
diff --git a/tools/holidays.pl b/tools/holidays.pl
index 047f226..a6afcaa 100755
--- a/tools/holidays.pl
+++ b/tools/holidays.pl
@@ -17,6 +17,8 @@
 
 #####Sets holiday periods for each branch. Datedues will be extended if branch is closed -TG
 use strict;
+use warnings;
+
 use CGI;
 
 use C4::Auth;
diff --git a/tools/newHolidays.pl b/tools/newHolidays.pl
index 08cb7dd..34469d8 100755
--- a/tools/newHolidays.pl
+++ b/tools/newHolidays.pl
@@ -1,6 +1,8 @@
 #!/usr/bin/perl
 
 use strict;
+use warnings;
+
 use CGI;
 
 use C4::Auth;
diff --git a/tools/tools-home.pl b/tools/tools-home.pl
index c49d2e7..7028358 100755
--- a/tools/tools-home.pl
+++ b/tools/tools-home.pl
@@ -16,6 +16,8 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
+use warnings;
+
 use CGI;
 use C4::Auth;
 use C4::Output;
-- 
1.5.6.5




More information about the Koha-patches mailing list