Help for this page

Select Code to Download


  1. or download this
    my @tagList = ('red', 'black');
    my $sql = 'SELECT table FROM tags WHERE tag IN (' .
        join (', ', map {'?'} @tagList) .
        ')';
    my $ID = $dbh->selectall_arrayref ($sql, undef, @tagList);