Anagram perimeters