From: Karen Etheridge Date: Mon, 28 Jul 2014 19:08:11 +0000 (-0700) Subject: use standard '' quoting for string literals X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fcc901c7fabd7c01defd0ce93fbbec45aefce86a;p=dbsrgits%2FDBIx-Class-Historic.git use standard '' quoting for string literals --- diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index 49a490f..2c831b1 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -3995,8 +3995,8 @@ Like elsewhere, literal SQL or literal values can be included by using a scalar reference, and these values will be available in the result with C: - # equivalent SQL: SELECT 1, "a string", IF(x,1,2) ... - columns => [ { foo => \1, bar => \'"a string"', baz => \'IF(x,1,2)' } ] + # equivalent SQL: SELECT 1, 'a string', IF(x,1,2) ... + columns => [ { foo => \1, bar => \q{'a string'}, baz => \'IF(x,1,2)' } ] =head2 +columns