X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=misc%2Fmod_zebraqueue.pl;h=ab1aa7b2b36b5804fa3f13ffa4cc1cc618395edf;hb=9d6d641d1f8b77271800f43bc027b651f9aea52b;hp=0c5c9a7f35858cbf98d2c00fe59b5a1605b5b6e9;hpb=cd150a23bbf6bccb3be08f5ccc328114340dd555;p=srvgit diff --git a/misc/mod_zebraqueue.pl b/misc/mod_zebraqueue.pl index 0c5c9a7f35..ab1aa7b2b3 100755 --- a/misc/mod_zebraqueue.pl +++ b/misc/mod_zebraqueue.pl @@ -3,27 +3,28 @@ # Copyright 2012 Kyle M Hall # 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 2 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., 59 Temple Place, -# Suite 330, Boston, MA 02111-1307 USA +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . # script to add records to the zebraqueue from the commandline. use Modern::Perl; -use Getopt::Long; -use Pod::Usage; +use Getopt::Long qw( GetOptions ); +use Pod::Usage qw( pod2usage ); -use C4::Biblio; +use Koha::Script; +use C4::Biblio qw( ModZebra ); my @biblios; my @authorities;