Bare qw() in foreach statement is deprecated at 5.18.