use strict; my %h; @_ = qw (opt pot top pit ipt); for ( @_ ) { $h{join "", sort split "", $_}++; } for ( keys %h ) { print "$_ counted $h{$_} times\n"; }
In reply to Re: Matching words based on letter content
by holli
in thread Matching words based on letter content
by knirirr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |