@@ -, +, @@ --- circ/bookcount.pl | 3 +-- circ/branchoverdues.pl | 3 +-- circ/branchtransfers.pl | 3 +-- circ/circulation.pl | 3 +-- circ/hold-transfer-slip.pl | 3 +-- circ/reserveratios.pl | 3 +-- circ/returns.pl | 3 +-- circ/selectbranchprinter.pl | 3 +-- circ/transfer-slip.pl | 3 +-- circ/transferstoreceive.pl | 3 +-- circ/view_holdsqueue.pl | 3 +-- circ/waitingreserves.pl | 3 +-- circ/ypattrodue-attr-search-authvalue.pl | 5 ++--- 13 files changed, 14 insertions(+), 27 deletions(-) --- a/circ/bookcount.pl +++ a/circ/bookcount.pl @@ -20,8 +20,7 @@ # You should have received a copy of the GNU General Public License # along with Koha; if not, see . -use strict; -#use warnings; FIXME - Bug 2505 +use Modern::Perl; use CGI qw ( -utf8 ); use C4::Debug; use C4::Context; --- a/circ/branchoverdues.pl +++ a/circ/branchoverdues.pl @@ -16,8 +16,7 @@ # You should have received a copy of the GNU General Public License # along with Koha; if not, see . -use strict; -#use warnings; FIXME - Bug 2505 +use Modern::Perl; use C4::Context; use CGI qw ( -utf8 ); use C4::Output; --- a/circ/branchtransfers.pl +++ a/circ/branchtransfers.pl @@ -20,8 +20,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 CGI qw ( -utf8 ); use C4::Circulation; use C4::Output; --- a/circ/circulation.pl +++ a/circ/circulation.pl @@ -24,8 +24,7 @@ # FIXME There are too many calls to Koha::Patrons->find in this script -use strict; -use warnings; +use Modern::Perl; use CGI qw ( -utf8 ); use DateTime; use DateTime::Duration; --- a/circ/hold-transfer-slip.pl +++ a/circ/hold-transfer-slip.pl @@ -18,8 +18,7 @@ # You should have received a copy of the GNU General Public License # along with Koha; if not, see . -use strict; -#use warnings; FIXME - Bug 2505 +use Modern::Perl; use C4::Context; use C4::Output; use CGI qw ( -utf8 ); --- a/circ/reserveratios.pl +++ a/circ/reserveratios.pl @@ -18,8 +18,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 CGI qw ( -utf8 ); use Date::Calc qw/Today Add_Delta_YM/; --- a/circ/returns.pl +++ a/circ/returns.pl @@ -27,8 +27,7 @@ script to execute returns of books =cut -use strict; -use warnings; +use Modern::Perl; # FIXME There are weird things going on with $patron and $borrowernumber in this script --- a/circ/selectbranchprinter.pl +++ a/circ/selectbranchprinter.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 CGI qw ( -utf8 ); use C4::Context; --- a/circ/transfer-slip.pl +++ a/circ/transfer-slip.pl @@ -18,8 +18,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::Context; use C4::Output; --- a/circ/transferstoreceive.pl +++ a/circ/transferstoreceive.pl @@ -18,8 +18,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 CGI qw ( -utf8 ); use C4::Context; use C4::Output; --- a/circ/view_holdsqueue.pl +++ a/circ/view_holdsqueue.pl @@ -22,8 +22,7 @@ This script displays items in the tmp_holdsqueue table =cut -use strict; -use warnings; +use Modern::Perl; use CGI qw ( -utf8 ); use C4::Auth; use C4::Output; --- a/circ/waitingreserves.pl +++ a/circ/waitingreserves.pl @@ -18,8 +18,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 CGI qw ( -utf8 ); use C4::Context; use C4::Output; --- a/circ/ypattrodue-attr-search-authvalue.pl +++ a/circ/ypattrodue-attr-search-authvalue.pl @@ -18,8 +18,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 CGI qw ( -utf8 ); use C4::Context; use C4::Auth qw/check_cookie_auth/; @@ -56,4 +55,4 @@ while ( my $rec = $sth->fetchrow_hashref ) { "}"; $i++; } -print "]"; +print "]"; --