Skip to content

Commit

Permalink
Tweaked Template::Constants to subclass from Exporter the old fashion…
Browse files Browse the repository at this point in the history
…ed way - Perl::MinimumVersion seems to think C<use base Exporter> is a Perl 5.008ism. ?!?

git-svn-id: svn://svn.tt2.org/tt/Template2/trunk@1256 d5a88997-0a34-4036-9ed2-92fb5d660d91
  • Loading branch information
abw committed Jul 31, 2009
1 parent 2779057 commit c6a6844
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/Template/Constants.pm
Expand Up @@ -21,10 +21,13 @@ package Template::Constants;
require Exporter;
use strict;
use warnings;
use base 'Exporter';

use Exporter;
# Perl::MinimumVersion seems to think this is a Perl 5.008ism...
# use base qw( Exporter );
use vars qw( @EXPORT_OK %EXPORT_TAGS );
use vars qw( $DEBUG_OPTIONS @STATUS @ERROR @CHOMP @DEBUG);
use vars qw( $DEBUG_OPTIONS @STATUS @ERROR @CHOMP @DEBUG @ISA );
# ... so we'll do it the Old Skool way just to keep it quiet
@ISA = qw( Exporter );

our $VERSION = 2.75;

Expand Down

0 comments on commit c6a6844

Please sign in to comment.