add required parentheses arounf qw() list in foreach