@names = qq(aaron richard robert penny); my $data = qq(SELECT id, order_num, state FROM orders WHERE names=@names); ...