in reply to Concise code to list array elements
$sth->execute( @{ $role[$row] }[1..10] ); [download]