Merge branch 'patch-1' of https://github.com/dsteinbrunner/sql-translator
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator / Filter / Globals.pm
index 35a322c..497e40f 100644 (file)
@@ -21,7 +21,7 @@ SQL::Translator::Filter::Globals - Add global fields and indices to all tables.
                 }
             ],
             indices => [
-                { 
+                {
                     fields => 'modifed',
                 },
             ]
@@ -37,8 +37,8 @@ SQL::Translator::Filter::Globals - Add global fields and indices to all tables.
 =cut
 
 use strict;
-use vars qw/$VERSION/;
-$VERSION = '1.59';
+use warnings;
+our $VERSION = '1.59';
 
 sub filter {
     my $schema = shift;
@@ -104,7 +104,7 @@ sub filter {
         $schema->drop_table($gtbl);
     }
 
-    # Add globalis to tables
+    # Add globals to tables
     foreach my $tbl ( $schema->get_tables ) {
 
         foreach my $new_fld ( @global_fields ) {