Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tweaked Template::Constants to subclass from Exporter the old fashion…

…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...
commit c6a6844174395c6423b7f3752ef8b726a6c4a087 1 parent 2779057
@abw authored
Showing with 6 additions and 3 deletions.
  1. +6 −3 lib/Template/Constants.pm
View
9 lib/Template/Constants.pm
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.