Add JSON parser and producer modules
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator / Types.pm
index f2cdb03..b820013 100644 (file)
@@ -11,7 +11,7 @@ SQL::Translator::Types - Type checking functions
     use SQL::Translator::Types qw(schema_obj enum);
 
     has foo => ( is => 'rw', isa => schema_obj('Trigger') );
-    has bar => ( is => 'rw', isa => enum([q(baz quux quuz)], {
+    has bar => ( is => 'rw', isa => enum([qw(baz quux quuz)], {
         msg => "Invalid value for bar: '%s'", icase => 1,
     });