Bug 12131: Remove unused dependency on Exporter
authorColin Campbell <colin.campbell@ptfs-europe.com>
Wed, 23 Apr 2014 13:23:28 +0000 (14:23 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 25 Apr 2014 15:24:39 +0000 (15:24 +0000)
C4::TmplToken depends on Exporter but does not use any
of its facilities. Removed the dead code so it does not
clog up the source and waste compilation time

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Module still compiles correctly; t/TmplToken.t passes.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/TmplToken.pm

index 819d304..2283d16 100644 (file)
@@ -19,13 +19,8 @@ package C4::TmplToken;
 
 
 use strict;
-#use warnings; FIXME - Bug 2505
+use warnings;
 use C4::TmplTokenType;
-require Exporter;
-
-use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
-
-###############################################################################
 
 =head1 NAME
 
@@ -37,14 +32,8 @@ This is a class representing a token scanned from an HTML::Template .tmpl file.
 
 =cut
 
-###############################################################################
+our $VERSION = 3.07.00.049;
 
-$VERSION = 3.07.00.049;
-
-@ISA = qw(Exporter);
-@EXPORT_OK = qw();
-
-###############################################################################
 
 sub new {
     my $this = shift;