|
||||
sybperl-l ArchiveUp Prev Next
From: charmanp at bolon dot uk dot ml dot com (Paul Charman "LADS" X8283) I do it something like this
map { $_ = "'$_'" } @array ; #put quotes round each item
$db->sql("select * from table where name in (" . join(',', @array) . ")" ) ;
|