bug 2615: remove unneeded 'require Exporter'

Most Perl scripts (as opposed to modules) do
not need to require Exporter.

No user-visible or documentation changes.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
Galen Charlton 2008-09-17 07:07:51 -05:00
parent e6daded166
commit 4bf76c2d77
52 changed files with 42 additions and 52 deletions

View File

@ -16,7 +16,6 @@
# Suite 330, Boston, MA 02111-1307 USA
use strict;
require Exporter;
use C4::Output; # contains gettemplate
use C4::Auth;

View File

@ -87,7 +87,7 @@ can be equal to
=cut
use strict;
require Exporter;
use CGI;
use C4::Auth; # get_template_and_user
use C4::Output;

View File

@ -19,7 +19,7 @@
# Suite 330, Boston, MA 02111-1307 USA
use strict;
require Exporter;
use CGI;
use C4::Output;
use C4::Auth;

View File

@ -18,7 +18,7 @@
# Suite 330, Boston, MA 02111-1307 USA
use strict;
require Exporter;
use CGI;
use C4::Auth;

View File

@ -38,7 +38,7 @@ parameters tables.
=cut
use strict;
require Exporter;
use C4::AuthoritiesMarc;
use C4::Auth;
use C4::Context;

View File

@ -39,7 +39,7 @@ parameters tables.
use strict;
require Exporter;
use C4::AuthoritiesMarc;
use C4::Auth;
use C4::Context;

View File

@ -39,7 +39,7 @@ parameters tables.
use strict;
require Exporter;
use C4::AuthoritiesMarc;
use C4::Auth;
use C4::Context;

View File

@ -35,7 +35,7 @@ This script needs a biblionumber as parameter
=cut
use strict;
require Exporter;
use C4::Auth;
use C4::Context;
use C4::Output;

View File

@ -44,7 +44,7 @@ the items attached to the biblio
=cut
use strict;
require Exporter;
use C4::Auth;
use C4::Context;
use C4::Output;

View File

@ -1,6 +1,6 @@
#!/usr/bin/perl
use strict;
require Exporter;
use CGI;
use XML::LibXSLT;
use XML::LibXML;

View File

@ -17,7 +17,7 @@
use strict;
require Exporter;
use CGI;
use C4::Auth;
use C4::Dates qw/format_date/;

View File

@ -18,7 +18,7 @@
# Suite 330, Boston, MA 02111-1307 USA
use strict;
require Exporter;
use C4::Context;
use CGI;
use C4::Auth;

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl
use HTML::Template::Pro;
use strict;
require Exporter;
use C4::Record;
use C4::Auth;
use C4::Output;

View File

@ -17,7 +17,7 @@
use strict;
require Exporter;
use CGI;
use C4::Auth;
use C4::Output;

View File

@ -19,7 +19,7 @@
# Suite 330, Boston, MA 02111-1307 USA
use strict;
require Exporter;
use CGI;
use C4::Auth;

View File

@ -19,7 +19,7 @@
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
require Exporter;
use C4::Context;
my $DEBUG = 0;

View File

@ -19,7 +19,7 @@
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
require Exporter;
=head1

View File

@ -18,7 +18,7 @@
# Suite 330, Boston, MA 02111-1307 USA
use strict;
require Exporter;
use CGI;
use C4::Output;

View File

@ -18,7 +18,7 @@
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
require Exporter;
use C4::Auth;
use C4::Context;
use C4::Output;

View File

@ -18,7 +18,7 @@
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
require Exporter;
use C4::Auth;
use C4::Context;
use C4::Output;

View File

@ -18,7 +18,7 @@
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
require Exporter;
use C4::AuthoritiesMarc;
use C4::Auth;
use C4::Context;

View File

@ -18,7 +18,7 @@
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
require Exporter;
use C4::AuthoritiesMarc;
use C4::Auth;
use C4::Context;

View File

@ -18,7 +18,7 @@
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
require Exporter;
use C4::AuthoritiesMarc;
use C4::Auth;
use C4::Context;

View File

@ -19,7 +19,7 @@
use strict;
require Exporter;
use CGI;
use C4::Output;
use C4::Context;

View File

@ -17,7 +17,6 @@
#
use strict;
require Exporter;
use CGI;
use C4::Output;

View File

@ -10,7 +10,7 @@ BEGIN {
use FindBin;
eval { require "$FindBin::Bin/kohalib.pl" };
}
require Exporter;
use C4::Context;
use C4::Output; # contains gettemplate
use C4::Biblio;

View File

@ -17,7 +17,6 @@
use strict;
require Exporter;
use CGI;
use C4::Auth;
use C4::Output;

View File

@ -42,7 +42,6 @@ the items attached to the biblio
=cut
use strict;
require Exporter;
use C4::Auth;
use C4::Context;
use C4::Output;

View File

@ -40,7 +40,6 @@ the items attached to the biblio
=cut
use strict;
require Exporter;
use C4::Auth;
use C4::Context;
use C4::Output;

View File

@ -19,7 +19,7 @@
# Suite 330, Boston, MA 02111-1307 USA
use strict;
require Exporter;
use CGI;
use C4::Auth;

View File

@ -38,7 +38,6 @@ parameters tables.
=cut
use strict;
require Exporter;
use C4::AuthoritiesMarc;
use C4::Auth;
use C4::Context;

View File

@ -17,7 +17,6 @@
use strict;
require Exporter;
use CGI;
use C4::Koha;
use C4::Biblio;

View File

@ -25,7 +25,6 @@ TODO :: Description here
=cut
use strict;
require Exporter;
use C4::Auth;
use C4::Context;
use C4::Output;

View File

@ -19,7 +19,7 @@
use strict;
require Exporter;
use CGI;
use C4::Auth;
use C4::Branch;

View File

@ -19,7 +19,6 @@
# Suite 330, Boston, MA 02111-1307 USA
use strict;
require Exporter;
use C4::Context;
use CGI;
use C4::Biblio;

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl
use HTML::Template::Pro;
use strict;
require Exporter;
use C4::Record;
use C4::Auth;
use C4::Output;

View File

@ -17,7 +17,6 @@
use strict;
require Exporter;
use CGI;
use C4::Auth; # get_template_and_user
use C4::Output;

View File

@ -19,7 +19,7 @@
use strict;
use warnings;
require Exporter;
use CGI;
use C4::Auth; # checkauth, getborrowernumber.

View File

@ -17,7 +17,7 @@
use strict;
use warnings;
require Exporter;
use CGI;
use C4::Auth;

View File

@ -19,7 +19,7 @@
# Suite 330, Boston, MA 02111-1307 USA
use strict;
require Exporter;
use CGI;
use C4::Auth; # checkauth, getborrowernumber.

View File

@ -17,7 +17,7 @@
use strict;
require Exporter;
use CGI;
use C4::Auth;

View File

@ -16,7 +16,7 @@
# Suite 330, Boston, MA 02111-1307 USA
use strict;
require Exporter;
use CGI;
use Mail::Sendmail;
use MIME::QuotedPrint;

View File

@ -16,7 +16,7 @@
# Suite 330, Boston, MA 02111-1307 USA
use strict;
require Exporter;
use CGI;
use C4::Auth;
use C4::Koha;

View File

@ -16,7 +16,7 @@
# Suite 330, Boston, MA 02111-1307 USA
use strict;
require Exporter;
use CGI;
use C4::Auth; # get_template_and_user
use C4::Output;

View File

@ -17,7 +17,7 @@
use strict;
require Exporter;
use CGI;
use C4::Auth;

View File

@ -18,7 +18,7 @@
# Suite 330, Boston, MA 02111-1307 USA
use strict;
require Exporter;
use CGI;
use Mail::Sendmail;

View File

@ -6,7 +6,7 @@
# issue items to that borrower.
#
use strict;
require Exporter;
use CGI;
#use C4::Authsco;

View File

@ -48,7 +48,7 @@ to multipage gestion.
use strict;
require Exporter;
use CGI;
use C4::Koha;
use C4::Auth;

View File

@ -45,7 +45,7 @@ Id of the subscription this script has to renew
=cut
use strict;
require Exporter;
use CGI;
use C4::Koha;
use C4::Auth;

View File

@ -65,7 +65,7 @@ op can be :
=cut
use strict;
require Exporter;
use CGI;
use C4::Auth; # get_template_and_user

View File

@ -18,7 +18,7 @@
use strict;
require Exporter;
use C4::Auth;
use C4::Output; # contains gettemplate
use C4::Biblio; # GetMarcBiblio GetXmlBiblio

View File

@ -20,7 +20,7 @@
# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
require Exporter;
use strict;
use C4::Context;