From bed542932cf39738549a4c618be9747824945bd7 Mon Sep 17 00:00:00 2001 From: Daniel Perrett Date: Fri, 10 Oct 2014 11:17:50 +0100 Subject: [PATCH 1/2] Fixed missing'[' in POD example --- lib/SQL/Abstract.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index e9c06f73..9b1a3f7b 100644 --- a/lib/SQL/Abstract.pm +++ b/lib/SQL/Abstract.pm @@ -2605,7 +2605,7 @@ seem algebraically equivalent, but they are not {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 ? ) ) From c5c06031b16fc6835bbf90cac3629a17f0511fba Mon Sep 17 00:00:00 2001 From: Daniel Perrett Date: Fri, 10 Oct 2014 11:20:42 +0100 Subject: [PATCH 2/2] Fixed missing'}' in POD example --- lib/SQL/Abstract.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index 9b1a3f7b..0cb3a064 100644 --- a/lib/SQL/Abstract.pm +++ b/lib/SQL/Abstract.pm @@ -2605,7 +2605,7 @@ seem algebraically equivalent, but they are not {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 ? ) )