Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Golf: Improve this guy's fail . . . please!

by moritz (Cardinal)
on Jun 30, 2009 at 22:06 UTC ( #776196=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    for (sort keys %chars) {
        printf "%s\t%d\t%.3f\n", $_, $chars{$_}, $chars{$_} / $total; 
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://776196]
help
Chatterbox?
[Corion]: :-D

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2016-12-06 16:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (109 votes). Check out past polls.