From fd0d515f9081a87ca9e13d5c643b8ad835ebfe06 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Thu, 23 Jan 2014 22:31:08 -0500 Subject: [PATCH] Bug 11592 - Updated License Text and use Modern::Perl Why not clean up the License Agreement stuff while the files are being changed? Used the current one found at: http://wiki.koha-community.org/wiki/Coding_Guidelines#Licence Changed the strict and warning lines into just a Modern::Perl. Signed-off-by: Robin Sheat Signed-off-by: Kyle M Hall Signed-off-by: Brendan Gallagher Signed-off-by: Nick Clemens --- C4/Biblio.pm | 3 +-- C4/XSLT.pm | 23 +++++++++++------------ opac/opac-ISBDdetail.pl | 3 +-- opac/opac-export.pl | 3 +-- opac/opac-showmarc.pl | 23 +++++++++++------------ 5 files changed, 25 insertions(+), 30 deletions(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index ae1f2f3..3ae36d0 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -19,8 +19,7 @@ package C4::Biblio; # You should have received a copy of the GNU General Public License # along with Koha; if not, see . -use strict; -use warnings; +use Modern::Perl; use Carp; use Encode qw( decode is_utf8 ); diff --git a/C4/XSLT.pm b/C4/XSLT.pm index a2bbaab..6bc81c7 100644 --- a/C4/XSLT.pm +++ b/C4/XSLT.pm @@ -8,21 +8,20 @@ package C4::XSLT; # # This file is part of Koha. # -# Koha is free software; you can redistribute it and/or modify it under the -# terms of the GNU General Public License as published by the Free Software -# Foundation; either version 3 of the License, or (at your option) any later -# version. +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. # -# Koha is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License along -# with Koha; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . -use strict; -use warnings; +use Modern::Perl; use C4::Context; use C4::Branch; diff --git a/opac/opac-ISBDdetail.pl b/opac/opac-ISBDdetail.pl index 49d7ce7..f325fd3 100755 --- a/opac/opac-ISBDdetail.pl +++ b/opac/opac-ISBDdetail.pl @@ -39,8 +39,7 @@ the items attached to the biblio =cut -use strict; -use warnings; +use Modern::Perl; use C4::Auth; use C4::Context; diff --git a/opac/opac-export.pl b/opac/opac-export.pl index c4ab83a..102c327 100755 --- a/opac/opac-export.pl +++ b/opac/opac-export.pl @@ -17,8 +17,7 @@ # You should have received a copy of the GNU General Public License # along with Koha; if not, see . -use strict; -use warnings; +use Modern::Perl; use C4::Record; use C4::Auth; diff --git a/opac/opac-showmarc.pl b/opac/opac-showmarc.pl index 786693e..c337727 100755 --- a/opac/opac-showmarc.pl +++ b/opac/opac-showmarc.pl @@ -4,21 +4,20 @@ # # This file is part of Koha. # -# Koha is free software; you can redistribute it and/or modify it under the -# terms of the GNU General Public License as published by the Free Software -# Foundation; either version 3 of the License, or (at your option) any later -# version. +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. # -# Koha is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License along -# with Koha; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . -use strict; -use warnings; +use Modern::Perl; # standard or CPAN modules used use CGI qw ( -utf8 ); -- 2.1.4