$ perl -e 'print "hello" =~ qw{foo bar}' Too many arguments for regexp internal reset at -e line 1, at EOF Execution of -e aborted due to compilation errors.