print $word unless $word =~ /(.).*?\1/; [download]
-- Dan
In reply to Re: Coffee time quiz by zigdon in thread Coffee time quiz by perlmoth