Skip Menu |

This queue is for tickets about the SQL-Interp CPAN distribution.

Report information
The Basics
Id: 39336
Status: resolved
Priority: 0/
Queue: SQL-Interp

People
Owner: MARKSTOS [...] cpan.org
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.06
Fixed in: (no value)



Subject: double references should be handled
You should be allowed to do this: "WHERE foo IN ",\$maybe_array and it should work whether $maybe_array is a single element or a reference to an array. To support this we should allow for an additional layer of referencing with IN clauses. Around like 170, just add # allow double references $item = $$item if ref $item eq 'REF' ; After this line: $item = [ $$item ] if ref $item eq 'SCALAR';
Releasing code and tests for this today.