my(@list) = "foo bar baz" =~ m< (?: (\w+) \s* )+ >x; print "@list"; __ouput__ baz # not - foo bar baz