apply qw// changes from Duncan Garland to fix perl 5.14 warnings