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:// d5a88997-0a34-4036-9ed2-92fb5d660d91
  • Loading branch information...
abw committed Jul 31, 2009
1 parent 2779057 commit c6a6844174395c6423b7f3752ef8b726a6c4a087
Showing with 6 additions and 3 deletions.
  1. +6 −3 lib/Template/
@@ -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 );
+# ... so we'll do it the Old Skool way just to keep it quiet
+@ISA = qw( Exporter );
our $VERSION = 2.75;

0 comments on commit c6a6844

Please sign in to comment.