Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: ASCII file

by chessgui (Scribe)
on Jan 26, 2012 at 18:54 UTC ( #950193=note: print w/ replies, xml ) Need Help??


in reply to ASCII file

open ASCII,'test.txt'; @chars=split //,join('',<ASCII>); %char_hash=(); foreach $c(@chars) { $char_hash{$c}++; } foreach $c(keys(%char_hash)) { print "$c occurs $char_hash{$c} times\n"; }


Comment on Re: ASCII file
Download Code
Re^2: ASCII file
by ww (Bishop) on Jan 26, 2012 at 19:35 UTC
    That's not "help" for rxd06040; that's "do it for" the OP.

    Please don't. You undermine the Monastery by doing, rather than teaching. See the replies,Re: ASCII file and Re: ASCII file from MidLifeXis and toolic that actually "help" without encouraging -- if not the OP, others, who think their "gimme's" constitute an acceptable question.

    So, you might ask, why didn't Anonymonk's offering draw this remark? Because that's a sufficiently unlikely way to code what OP's looking for to be satire ...or a honey-trap for those trying to have us do homework for them.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2014-08-23 17:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (175 votes), past polls