Bugzilla – Attachment 696 Details for
Bug 2505
Omnibus: Enable Perl warnings in all modules and scripts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for tools-home.pl, holidays.pl, newHolidays.pl, and exceptionHolidays.pl
0012-Bug-2505-Enabled-warnings-in-tools-home.pl-holiday.patch (text/plain), 1.63 KB, created by
Chris Cormack
on 2009-09-11 15:27:00 UTC
(
hide
)
Description:
Patch for tools-home.pl, holidays.pl, newHolidays.pl, and exceptionHolidays.pl
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2009-09-11 15:27:00 UTC
Size:
1.63 KB
patch
obsolete
>From ddf0fc3e98cb30c9628dadc9c462c3e39e418bf0 Mon Sep 17 00:00:00 2001 >From: Garry Collum <gcollum@gmail.com> >Date: Fri, 11 Sep 2009 11:23:08 -0400 >Subject: [PATCH] Bug 2505: Enabled warnings in tools-home.pl, holidays.pl, exceptionHolidays.pl, and newHolidays.pl >Content-Type: text/plain; charset="utf-8" > >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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 2505
:
686
|
687
|
688
|
689
|
690
|
691
|
692
|
693
|
694
|
695
|
696
|
697
|
698
|
699
|
700
|
701
|
702
|
703
|
704
|
705
|
706
|
707
|
708
|
709
|
2223
|
3884
|
4574
|
8209
|
8317
|
8322
|
8373
|
9034
|
9035
|
9036
|
34442