http://qs321.pair.com?node_id=91546


in reply to Splitting each word in a string

Split takes a regex as delimiter, so you can use:
my @words = split /\s+/, $string;