http://www.perlmonks.org?node_id=1016467


in reply to Re: Seeking a better way to do it
in thread Seeking a better way to do it

That would also match camelCase and Some_shell, you'd want

my @wordlist = ($string =~ m{\b ([A-Z][a-z]+) \b}gx);

as BrowserUK also posted


Enjoy, Have FUN! H.Merijn