Help for this page
sub no_dups { my $in = join( '', sort split '', shift ); ... no_dups( 'smtthfa' ); no_dups( 'smatwhfa' ); no_dups( 'afhwtmsz' );