From: Daniel Perrett <perrettdl@googlemail.com>
Date: Fri, 10 Oct 2014 10:17:50 +0000 (+0100)
Subject: Fixed missing '}' in POD examples and reformat for clarity
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a948b1fe0d6b03b6120c8e59af333947fd52e794;p=scpubgit%2FQ-Branch.git

Fixed missing '}' in POD examples and reformat for clarity
---

diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm
index fa64bd1..32ad7b3 100644
--- a/lib/SQL/Abstract.pm
+++ b/lib/SQL/Abstract.pm
@@ -2646,10 +2646,16 @@ This difference in syntax is unfortunate but must be preserved for
 historical reasons. So be careful : the two examples below would
 seem algebraically equivalent, but they are not
 
-  {col => [-and => {-like => 'foo%'}, {-like => '%bar'}]}
+  { col => [ -and =>
+    { -like => 'foo%' },
+    { -like => '%bar' },
+  ] }
   # yields : WHERE ( ( col LIKE ? AND col LIKE ? ) )
 
-  [-and => {col => {-like => 'foo%'}, {col => {-like => '%bar'}}]]
+  [ -and =>
+    { col => { -like => 'foo%' } },
+    { col => { -like => '%bar' } },
+  ]
   # yields : WHERE ( ( col LIKE ? OR col LIKE ? ) )