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';