in reply to testing number of occurrences in a word
perl -F// -lane 'my(%x);@x{@F}=();print keys %x==@F?"yes":"no"'; [download]