in reply to Re^2: Golf: Improve this guy's fail . . . please!
in thread Golf: Improve this guy's fail . . . please!
++$t,++$c{$_}for map/\w/g,<>; print$_,"\t",$c{$_},"\t",$c{$_}/$t*100,$/for sort keys %c; print"Distinct: ".keys(%c)."\tTotal: $t\n";
I doubt I'd call that an "improvement", at least with a straight face. It could be cleaned up pretty easily, though.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Golf: Improve this guy's fail . . . please!
by shmem (Chancellor) on Jul 01, 2009 at 00:43 UTC | |
by mr_mischief (Monsignor) on Jul 01, 2009 at 01:24 UTC |