Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: testing number of occurrences in a word

by borisz (Canon)
on Sep 19, 2006 at 14:11 UTC ( #573730=note: print w/ replies, xml ) Need Help??


in reply to testing number of occurrences in a word

I do not know what a isogram is. But maybe this is what you search.
$_ = <>; my %h; $h{$_}++ for ( split // ); my $not_isog = () = grep $_ > 1, values %h; print "$_ is ", $not_isog ? 'not ' : '', "isog\n";
Boris

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://573730]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (13)
As of 2016-06-27 20:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (344 votes). Check out past polls.