Rosetta Code/Count examples: Difference between revisions
m
→{{header|Perl 6}}: Style tweaks
Thundergnat (talk | contribs) (→{{header|Perl 6}}: Replace broken, minimalist version with modern bells-and-whistles version, add output) |
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: Style tweaks) |
||
Line 1,713:
# Sort tasks by count then add row
for %tasks.sort: -*.value<count> -> $task {
$out.say
"|-\n",
$out.say( '| ', $task.value<count> );▼
!! "| { $task.key }\n"
}
|