in reply to
sql select with array
In general "@array" concatenates the items
in the array in to a string without any separator
(but see perlvar).
In the case of SQL, you'd probably like comma's
between your items (see join):
...._arrayref( "select ". join( ', ', @selector) .
" from people .... "
I make decisions, and my brain carries them out
My brain makes the decisions, and I observe them (if I'm lucky)
I make some decisions, and my brain makes others
My spouse makes decisions and I and my brain carry them out
I wrote a program to relieve me and my brain from the burden of decision-making
The black-helicopter people project the decisions into my brain and then I do as ordered
Results (360 votes),