Suppress "Exiting subroutine via next"
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator / Producer / TTSchema.pm
index 9b7351b..3b01147 100644 (file)
@@ -1,24 +1,6 @@
 package SQL::Translator::Producer::TTSchema;
 
-# -------------------------------------------------------------------
-# 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 
+=pod
 
 =head1 NAME
 
@@ -75,7 +57,7 @@ See F<t/data/template/basic.tt> for a more complete example.
 The template will also get the set of extra variables given as a hashref via the
 C<tt_vars> producer arg.
 
-You can set any of the options used to initiallize the Template object by
+You can set any of the options used to initialize the Template object by
 adding a tt_conf producer_arg. See Template Toolkit docs for details of
 the options.
 (Note that the old style of passing this config directly in the producer args
@@ -123,9 +105,10 @@ constructor.
 =cut
 
 use strict;
+use warnings;
 
-use vars qw[ $DEBUG $VERSION @EXPORT_OK ];
-$VERSION = '1.59';
+our ( $DEBUG, @EXPORT_OK );
+our $VERSION = '1.59';
 $DEBUG   = 0 unless defined $DEBUG;
 
 use Template;