Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: ASCII file

by thundergnat (Deacon)
on Jan 27, 2012 at 17:20 UTC ( #950420=note: print w/ replies, xml ) Need Help??


in reply to ASCII file

perl -E"undef$/;map{$a{$_}++}split//,<>;say qq/$_ => $a{$_}/for sort k +eys%a" test.txt

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2016-08-25 16:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (361 votes). Check out past polls.