Only output trigger 'scope' if it's set in YAML and JSON producers
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator / Producer / XML.pm
index 6cb7b27..584690f 100644 (file)
@@ -1,25 +1,5 @@
 package SQL::Translator::Producer::XML;
 
-# -------------------------------------------------------------------
-# $Id: XML.pm 1440 2009-01-17 16:31:57Z jawnsy $
-# -------------------------------------------------------------------
-# 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
@@ -28,9 +8,9 @@ SQL::Translator::Producer::XML - Alias to XML::SQLFairy producer
 
 =head1 DESCRIPTION
 
-Previous versions of SQL::Translator included an XML producer, but the 
-namespace has since been further subdivided.  Therefore, this module is 
-now just just an alias to the XML::SQLFairy producer.
+Previous versions of SQL::Translator included an XML producer, but the
+namespace has since been further subdivided.  Therefore, this module is
+now just an alias to the XML::SQLFairy producer.
 
 =head1 SEE ALSO
 
@@ -38,14 +18,14 @@ SQL::Translator::Producer::XML::SQLFairy.
 
 =head1 AUTHOR
 
-Ken Y. Clark E<lt>kclark@cpan.orgE<gt>.
+Ken Youens-Clark E<lt>kclark@cpan.orgE<gt>.
 
 =cut
 
-# -------------------------------------------------------------------
-
 use strict;
-use vars qw[ $DEBUG ];
+use warnings;
+our $DEBUG;
+our $VERSION = '1.59';
 $DEBUG = 1 unless defined $DEBUG;
 
 use SQL::Translator::Producer::XML::SQLFairy;