in reply to Re: Golf: Improve this guy's fail . . . please!in thread Golf: Improve this guy's fail . . . please!
#!/usr/bin/env perl -n0 $t++,$c{$_}++ for /./g; printf("%s\t%d\t%.3f\n", $_, $c{$_}, $c{$_} / $t) for keys %c; print "Total: $t\n" [download]