From 44201a54e15f06d13c2f40d93bd5a76f6493d7d2 Mon Sep 17 00:00:00 2001 From: Donovan Jones Date: Fri, 16 Apr 2010 15:54:32 +1200 Subject: [PATCH] Bug 2505 - Add commented use warnings where missing in the tools/ directory --- tools/background-job-progress.pl | 1 + tools/batchMod.pl | 1 + tools/cleanborrowers.pl | 1 + tools/csv-profiles.pl | 1 + tools/koha-news.pl | 1 + tools/pdfViewer.pl | 1 + tools/picture-upload.pl | 3 +++ tools/scheduler.pl | 1 + tools/stage-marc-import.pl | 1 + tools/upload-file-progress.pl | 1 + tools/upload-file.pl | 1 + tools/viewlog.pl | 1 + 12 files changed, 14 insertions(+) diff --git a/tools/background-job-progress.pl b/tools/background-job-progress.pl index cd8a0651a0..db4d890497 100755 --- a/tools/background-job-progress.pl +++ b/tools/background-job-progress.pl @@ -18,6 +18,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; +#use warnings; FIXME - Bug 2505 # standard or CPAN modules used use IO::File; diff --git a/tools/batchMod.pl b/tools/batchMod.pl index 2d284d64d4..6c3caf8382 100755 --- a/tools/batchMod.pl +++ b/tools/batchMod.pl @@ -20,6 +20,7 @@ use CGI; use strict; +#use warnings; FIXME - Bug 2505 use C4::Auth; use C4::Output; use C4::Biblio; diff --git a/tools/cleanborrowers.pl b/tools/cleanborrowers.pl index 1a6c9bc251..4fde0f2b5e 100755 --- a/tools/cleanborrowers.pl +++ b/tools/cleanborrowers.pl @@ -33,6 +33,7 @@ This script allows to do 2 things. =cut use strict; +#use warnings; FIXME - Bug 2505 use CGI; use C4::Auth; use C4::Output; diff --git a/tools/csv-profiles.pl b/tools/csv-profiles.pl index 7aafc92623..6f467ee5cd 100755 --- a/tools/csv-profiles.pl +++ b/tools/csv-profiles.pl @@ -35,6 +35,7 @@ This script allow the user to define a new profile for CSV export =cut use strict; +#use warnings; FIXME - Bug 2505 use Data::Dumper; use Encode; diff --git a/tools/koha-news.pl b/tools/koha-news.pl index cc70172467..ff4a32f323 100755 --- a/tools/koha-news.pl +++ b/tools/koha-news.pl @@ -22,6 +22,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; +#use warnings; FIXME - Bug 2505 use CGI; use C4::Auth; use C4::Koha; diff --git a/tools/pdfViewer.pl b/tools/pdfViewer.pl index 3ca61a815f..6a3549a446 100755 --- a/tools/pdfViewer.pl +++ b/tools/pdfViewer.pl @@ -23,6 +23,7 @@ use strict; +#use warnings; FIXME - Bug 2505 use C4::Context; use CGI; diff --git a/tools/picture-upload.pl b/tools/picture-upload.pl index c3f7b00e05..d21b6b0330 100755 --- a/tools/picture-upload.pl +++ b/tools/picture-upload.pl @@ -19,6 +19,9 @@ # # +#use strict; +#use warnings; FIXME - Bug 2505 + use File::Temp; use File::Copy; use CGI; diff --git a/tools/scheduler.pl b/tools/scheduler.pl index 9490301079..4d732db3a5 100755 --- a/tools/scheduler.pl +++ b/tools/scheduler.pl @@ -18,6 +18,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; +#use warnings; FIXME - Bug 2505 use C4::Context; use C4::Scheduler; use C4::Reports::Guided; diff --git a/tools/stage-marc-import.pl b/tools/stage-marc-import.pl index 2cd77c5d68..cc15f47cbc 100755 --- a/tools/stage-marc-import.pl +++ b/tools/stage-marc-import.pl @@ -25,6 +25,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; +#use warnings; FIXME - Bug 2505 # standard or CPAN modules used use CGI; diff --git a/tools/upload-file-progress.pl b/tools/upload-file-progress.pl index 5e61d0ed6e..e3a643b4a4 100755 --- a/tools/upload-file-progress.pl +++ b/tools/upload-file-progress.pl @@ -18,6 +18,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; +#use warnings; FIXME - Bug 2505 # standard or CPAN modules used use IO::File; diff --git a/tools/upload-file.pl b/tools/upload-file.pl index 6b1fabbce3..1f38d076eb 100755 --- a/tools/upload-file.pl +++ b/tools/upload-file.pl @@ -18,6 +18,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; +#use warnings; FIXME - Bug 2505 # standard or CPAN modules used use IO::File; diff --git a/tools/viewlog.pl b/tools/viewlog.pl index d2e0b37acf..48804517fe 100755 --- a/tools/viewlog.pl +++ b/tools/viewlog.pl @@ -19,6 +19,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; +#use warnings; FIXME - Bug 2505 use C4::Auth; use CGI; use C4::Context; -- 2.39.5