X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FSQL%2FTranslator%2FProducer%2FTT%2FBase.pm;h=9c86f86e57db59bf45693db980bc7190c5a669d2;hb=0c04c5a2210135419771878dc7e341a1cba52cca;hp=faff6a8f49876a147d4b5f165f53e376175c5800;hpb=782b5a43519d2713171767f74a544fe9892542ea;p=dbsrgits%2FSQL-Translator.git diff --git a/lib/SQL/Translator/Producer/TT/Base.pm b/lib/SQL/Translator/Producer/TT/Base.pm index faff6a8..9c86f86 100644 --- a/lib/SQL/Translator/Producer/TT/Base.pm +++ b/lib/SQL/Translator/Producer/TT/Base.pm @@ -1,25 +1,5 @@ package SQL::Translator::Producer::TT::Base; -# ------------------------------------------------------------------- -# $Id$ -# ------------------------------------------------------------------- -# Copyright (C) 2002-2009 SQLFairy Authors -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as -# published by the Free Software Foundation; version 2. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -# 02111-1307 USA -# ------------------------------------------------------------------- - =pod =head1 NAME @@ -30,9 +10,10 @@ class. =cut use strict; +use warnings; -use vars qw[ $VERSION @EXPORT_OK ]; -$VERSION = '1.99'; +our @EXPORT_OK; +our $VERSION = '1.59'; use Template; use Data::Dumper; @@ -151,8 +132,6 @@ sub tt_vars { () }; 1; -# ------------------------------------------------------------------- - =pod =head1 SYNOPSIS @@ -264,7 +243,7 @@ The L object. WARNING: This method is Experimental so may change! Called with the L object and should return one (it -doesn't have to be the same one) that will become the C varibale used +doesn't have to be the same one) that will become the C varibale used in the template. Gets called from tt_default_vars.