From: Dagfinn Ilmari Mannsåker Date: Thu, 16 Aug 2012 15:10:41 +0000 (+0200) Subject: Wrap some over-log has statements X-Git-Tag: v0.11013_01~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9593ed04e60849f1a58beefd18a66517f4b9e265;p=dbsrgits%2FSQL-Translator.git Wrap some over-log has statements --- diff --git a/lib/SQL/Translator/Schema/Constraint.pm b/lib/SQL/Translator/Schema/Constraint.pm index e5cb69a..0261df7 100644 --- a/lib/SQL/Translator/Schema/Constraint.pm +++ b/lib/SQL/Translator/Schema/Constraint.pm @@ -88,7 +88,11 @@ False, so the following are eqivalent: =cut -has deferrable => ( is => 'rw', coerce => quote_sub(q{ $_[0] ? 1 : 0 }), default => quote_sub(q{ 1 }) ); +has deferrable => ( + is => 'rw', + coerce => quote_sub(q{ $_[0] ? 1 : 0 }), + default => quote_sub(q{ 1 }), +); =head2 expression diff --git a/lib/SQL/Translator/Schema/Index.pm b/lib/SQL/Translator/Schema/Index.pm index b238e27..8537319 100644 --- a/lib/SQL/Translator/Schema/Index.pm +++ b/lib/SQL/Translator/Schema/Index.pm @@ -101,7 +101,11 @@ Get or set the index's name. =cut -has name => ( is => 'rw', coerce => quote_sub(q{ defined $_[0] ? $_[0] : '' }), default => quote_sub(q{ '' }) ); +has name => ( + is => 'rw', + coerce => quote_sub(q{ defined $_[0] ? $_[0] : '' }), + default => quote_sub(q{ '' }), +); =head2 options