in reply to testing number of occurrences in a word
print qq{$word }, $word =~ m{(.).*?\1} ? q{is not } : q{is }, qq{an isogram\n};
Cheers,
JohnGG
Update: Fixed wonky braces/parentheses, thanks tweetiepooh
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: testing number of occurrences in a word
by tweetiepooh (Hermit) on Sep 19, 2006 at 16:03 UTC | |
by johngg (Canon) on Sep 19, 2006 at 22:00 UTC |