X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;ds=sidebyside;f=misc%2Fbatchdeletebiblios.pl;h=0abe2b41063fbd688f069654fff018a6b78f667e;hb=dc42d6a62d637dd342533b9fd89befa1cf1478df;hp=9bc999a4892771fa72c7301f20fbe5b2e2b72a1c;hpb=7886297f05ece48185b2f046ae025a57643ee65c;p=koha-ffzg.git diff --git a/misc/batchdeletebiblios.pl b/misc/batchdeletebiblios.pl index 9bc999a489..0abe2b4106 100755 --- a/misc/batchdeletebiblios.pl +++ b/misc/batchdeletebiblios.pl @@ -1,13 +1,13 @@ #!/usr/bin/perl use Modern::Perl; -use Getopt::Long; -use Pod::Usage; -use IO::File; +use Getopt::Long qw( GetOptions ); +use Pod::Usage qw( pod2usage ); -use C4::Biblio; +use Koha::Script; +use C4::Biblio qw( DelBiblio ); -my ($help, $files); +my $help; GetOptions( 'h|help' => \$help, ); @@ -75,12 +75,18 @@ Copyright 2012 BibLibre 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. -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. +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, see . =head1 DISCLAIMER OF WARRANTY