bug 2615: remove unneeded 'require Exporter'
authorGalen Charlton <galen.charlton@liblime.com>
Wed, 17 Sep 2008 12:07:51 +0000 (07:07 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Fri, 26 Sep 2008 14:05:08 +0000 (09:05 -0500)
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>

52 files changed:
about.pl
acqui/newordersuggestion.pl
authorities/auth_finder.pl
authorities/authorities-home.pl
authorities/blinddetail-biblio-search.pl
authorities/detail-biblio-search.pl
authorities/detail.pl
catalogue/ISBDdetail.pl
catalogue/MARCdetail.pl
catalogue/cardview.pl
catalogue/detail.pl
catalogue/detailprint.pl
catalogue/export.pl
catalogue/issuehistory.pl
catalogue/suggest.pl
cataloguing/value_builder/barcode.pl
cataloguing/value_builder/dateaccessioned.pl
cataloguing/value_builder/labs_theses.pl
cataloguing/value_builder/marc21_field_003.pl
cataloguing/value_builder/marc21_field_005.pl
cataloguing/value_builder/marc21_field_040c.pl
cataloguing/value_builder/marc21_field_040d.pl
cataloguing/value_builder/unimarc_field_210c.pl
cataloguing/value_builder/unimarc_field_4XX.pl
mainpage.pl
misc/exportauth.pl
opac/maintenance.pl
opac/opac-ISBDdetail.pl
opac/opac-MARCdetail.pl
opac/opac-authorities-home.pl
opac/opac-authoritiesdetail.pl
opac/opac-basket.pl
opac/opac-browser.pl
opac/opac-detail.pl
opac/opac-detailprint.pl
opac/opac-export.pl
opac/opac-main.pl
opac/opac-messaging.pl
opac/opac-mymessages.pl
opac/opac-passwd.pl
opac/opac-readingrecord.pl
opac/opac-sendbasket.pl
opac/opac-showreviews.pl
opac/opac-suggestions.pl
opac/opac-user.pl
opac/opac-userupdate.pl
opac/sco/sco-main.pl
serials/subscription-bib-search.pl
serials/subscription-renew.pl
suggestion/acceptorreject.pl
tools/export.pl
tools/pdfViewer.pl

index 0c47aa0..7fb2efc 100755 (executable)
--- a/about.pl
+++ b/about.pl
@@ -16,7 +16,6 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
-require Exporter;
 
 use C4::Output;    # contains gettemplate
 use C4::Auth;
index ee7bb94..e56e521 100755 (executable)
@@ -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;
index 49bb0b5..fef6cbf 100755 (executable)
@@ -19,7 +19,7 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
-require Exporter;
+
 use CGI;
 use C4::Output;
 use C4::Auth;
index 428954c..d80acc4 100755 (executable)
@@ -18,7 +18,7 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
-require Exporter;
+
 use CGI;
 use C4::Auth;
 
index afbb16b..b137f50 100755 (executable)
@@ -38,7 +38,7 @@ parameters tables.
 =cut
 
 use strict;
-require Exporter;
+
 use C4::AuthoritiesMarc;
 use C4::Auth;
 use C4::Context;
index 07ba283..204dd57 100755 (executable)
@@ -39,7 +39,7 @@ parameters tables.
 
 
 use strict;
-require Exporter;
+
 use C4::AuthoritiesMarc;
 use C4::Auth;
 use C4::Context;
index 5a2456b..9096d1c 100755 (executable)
@@ -39,7 +39,7 @@ parameters tables.
 
 
 use strict;
-require Exporter;
+
 use C4::AuthoritiesMarc;
 use C4::Auth;
 use C4::Context;
index 66a98ef..250fda6 100755 (executable)
@@ -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;
index d10d4ba..12c6544 100755 (executable)
@@ -44,7 +44,7 @@ the items attached to the biblio
 =cut
 
 use strict;
-require Exporter;
+
 use C4::Auth;
 use C4::Context;
 use C4::Output;
index e7622da..a88d296 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 use strict;
-require Exporter;
+
 use CGI;
 use XML::LibXSLT;
 use XML::LibXML;
index d6e4000..8bef7e3 100755 (executable)
@@ -17,7 +17,7 @@
 
 
 use strict;
-require Exporter;
+
 use CGI;
 use C4::Auth;
 use C4::Dates qw/format_date/;
index 00c0863..b36a962 100755 (executable)
@@ -18,7 +18,7 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
-require Exporter;
+
 use C4::Context;
 use CGI;
 use C4::Auth;
index 758afd3..0093ce0 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 use HTML::Template::Pro;
 use strict;
-require Exporter;
+
 use C4::Record;
 use C4::Auth;
 use C4::Output;
index 6e7e107..37b52ae 100755 (executable)
@@ -17,7 +17,7 @@
 
 
 use strict;
-require Exporter;
+
 use CGI;
 use C4::Auth;
 use C4::Output;
index b9373d5..9463f85 100755 (executable)
@@ -19,7 +19,7 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
-require Exporter;
+
 use CGI;
 use C4::Auth;
 
index 21fd1ec..cfa3b15 100755 (executable)
@@ -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;
index 185a9b1..19f7227 100755 (executable)
@@ -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
 
index 4497461..382c763 100755 (executable)
@@ -18,7 +18,7 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
-require Exporter;
+
 use CGI;
 
 use C4::Output;
index 5d7a7ef..e18b9b9 100755 (executable)
@@ -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;
index eb3dfa6..23308d8 100755 (executable)
@@ -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;
index 417af78..667d0ae 100755 (executable)
@@ -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;
index 417af78..667d0ae 100755 (executable)
@@ -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;
index 64c243f..27ced19 100755 (executable)
@@ -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;
index f317bb7..b97f27b 100755 (executable)
@@ -19,7 +19,7 @@
 
 
 use strict;
-require Exporter;
+
 use CGI;
 use C4::Output;
 use C4::Context;
index fa5e814..8116eeb 100755 (executable)
@@ -17,7 +17,6 @@
 #
 
 use strict;
-require Exporter;
 
 use CGI;
 use C4::Output;
index 31abe29..52a0ec8 100755 (executable)
@@ -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;
index 22698a6..49b7491 100755 (executable)
@@ -17,7 +17,6 @@
 
 
 use strict;
-require Exporter;
 use CGI;
 use C4::Auth;
 use C4::Output;
index bbb0427..6767922 100755 (executable)
@@ -42,7 +42,6 @@ the items attached to the biblio
 =cut
 
 use strict;
-require Exporter;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
index a1ecb99..c384569 100755 (executable)
@@ -40,7 +40,6 @@ the items attached to the biblio
 =cut
 
 use strict;
-require Exporter;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
index ec6b579..06ad711 100755 (executable)
@@ -19,7 +19,7 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
-require Exporter;
+
 use CGI;
 use C4::Auth;
 
index 40e2d6b..430f0f2 100755 (executable)
@@ -38,7 +38,6 @@ parameters tables.
 =cut
 
 use strict;
-require Exporter;
 use C4::AuthoritiesMarc;
 use C4::Auth;
 use C4::Context;
index 7b52178..399e666 100755 (executable)
@@ -17,7 +17,6 @@
 
 
 use strict;
-require Exporter;
 use CGI;
 use C4::Koha;
 use C4::Biblio;
index 360dcd9..f1d98f0 100755 (executable)
@@ -25,7 +25,6 @@ TODO :: Description here
 =cut
 
 use strict;
-require Exporter;
 use C4::Auth;
 use C4::Context;
 use C4::Output;
index 149209c..314dbe0 100755 (executable)
@@ -19,7 +19,7 @@
 
 
 use strict;
-require Exporter;
+
 use CGI;
 use C4::Auth;
 use C4::Branch;
index d420bd9..8d11cfc 100755 (executable)
@@ -19,7 +19,6 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
-require Exporter;
 use C4::Context;
 use CGI;
 use C4::Biblio;
index 758afd3..0093ce0 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 use HTML::Template::Pro;
 use strict;
-require Exporter;
+
 use C4::Record;
 use C4::Auth;
 use C4::Output;
index 1bce420..1062109 100755 (executable)
@@ -17,7 +17,6 @@
 
 
 use strict;
-require Exporter;
 use CGI;
 use C4::Auth;    # get_template_and_user
 use C4::Output;
index b7ecac0..86da193 100755 (executable)
@@ -19,7 +19,7 @@
 
 use strict;
 use warnings;
-require Exporter;
+
 use CGI;
 
 use C4::Auth;    # checkauth, getborrowernumber.
index 3cfd4fc..80013d5 100755 (executable)
@@ -17,7 +17,7 @@
 
 use strict;
 use warnings;
-require Exporter;
+
 use CGI;
 
 use C4::Auth;
index a4f27df..491cce0 100755 (executable)
@@ -19,7 +19,7 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
-require Exporter;
+
 use CGI;
 
 use C4::Auth;    # checkauth, getborrowernumber.
index 648532b..489e64b 100755 (executable)
@@ -17,7 +17,7 @@
 
 
 use strict;
-require Exporter;
+
 use CGI;
 
 use C4::Auth;
index 79b5f46..efa4ea5 100755 (executable)
@@ -16,7 +16,7 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
-require Exporter;
+
 use CGI;
 use Mail::Sendmail;
 use MIME::QuotedPrint;
index e9ce121..d4eaa93 100755 (executable)
@@ -16,7 +16,7 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
-require Exporter;
+
 use CGI;
 use C4::Auth;
 use C4::Koha;
index e1535f5..4001694 100755 (executable)
@@ -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;
index 04d0c9e..763e810 100755 (executable)
@@ -17,7 +17,7 @@
 
 
 use strict;
-require Exporter;
+
 use CGI;
 
 use C4::Auth;
index 384f003..f01a664 100755 (executable)
@@ -18,7 +18,7 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
-require Exporter;
+
 use CGI;
 use Mail::Sendmail;
 
index d29e23f..1979758 100755 (executable)
@@ -6,7 +6,7 @@
 # issue items to that borrower.
 #
 use strict;
-require Exporter;
+
 use CGI;
 
 #use C4::Authsco;
index 2a83d3e..21341db 100755 (executable)
@@ -48,7 +48,7 @@ to multipage gestion.
 
 
 use strict;
-require Exporter;
+
 use CGI;
 use C4::Koha;
 use C4::Auth;
index 484fbfb..10c1205 100755 (executable)
@@ -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;
index 3fed003..5100334 100755 (executable)
@@ -65,7 +65,7 @@ op can be :
 =cut
 
 use strict;
-require Exporter;
+
 use CGI;
 
 use C4::Auth;    # get_template_and_user
index 6ee0145..b0cf6be 100755 (executable)
@@ -18,7 +18,7 @@
 
 
 use strict;
-require Exporter;
+
 use C4::Auth;
 use C4::Output;  # contains gettemplate
 use C4::Biblio;  # GetMarcBiblio GetXmlBiblio
index aefedce..3ca61a8 100755 (executable)
@@ -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;