Only output trigger 'scope' if it's set in YAML and JSON producers
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator / Producer / XML.pm
index d0d1e3b..584690f 100644 (file)
@@ -10,7 +10,7 @@ SQL::Translator::Producer::XML - Alias to 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 just an alias to the XML::SQLFairy producer.
+now just an alias to the XML::SQLFairy producer.
 
 =head1 SEE ALSO
 
@@ -23,8 +23,9 @@ Ken Youens-Clark E<lt>kclark@cpan.orgE<gt>.
 =cut
 
 use strict;
-use vars qw[ $VERSION $DEBUG ];
-$VERSION = '1.59';
+use warnings;
+our $DEBUG;
+our $VERSION = '1.59';
 $DEBUG = 1 unless defined $DEBUG;
 
 use SQL::Translator::Producer::XML::SQLFairy;