From: Dagfinn Ilmari Mannsåker Date: Tue, 22 Jul 2014 22:52:47 +0000 (+0100) Subject: Fix typos in literal + bind examples X-Git-Tag: v1.79~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FSQL-Abstract.git;a=commitdiff_plain;h=a3e3e6a18b140027c6e381dd159875003313d745 Fix typos in literal + bind examples --- diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index 08f6011..48a2f5b 100644 --- a/lib/SQL/Abstract.pm +++ b/lib/SQL/Abstract.pm @@ -2683,7 +2683,7 @@ not so common, but perfectly legal Perl). For example, to find a date in Postgres you can use something like this: my %where = ( - date_column => \[q/= date '2008-09-30' - ?::integer/, 10/] + date_column => \[q/= date '2008-09-30' - ?::integer/, 10] ) This would create: @@ -2700,7 +2700,7 @@ L will simply pass it through intact. So if C is set to C the above example will look like: my %where = ( - date_column => \[q/= date '2008-09-30' - ?::integer/, [ dummy => 10 ]/] + date_column => \[q/= date '2008-09-30' - ?::integer/, [ dummy => 10 ]] ) Literal SQL is especially useful for nesting parenthesized clauses in the