my $stuff = [ 'things', 'items', 'etc.' ]; my $query = "SELECT $stuff FROM foo"; print $query, "\n"; __END__ SELECT ARRAY(0x504290) FROM foo