Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: testing number of occurrences in a word

by borisz (Canon)
on Sep 19, 2006 at 14:11 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://573730]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-24 05:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found