I recently came across the following code snippet
$count_stuff{$_}++ for @stuff;
It\'s a pretty convenient way to use a hash to count occurrenc
It is documented in the "perlsyn" man page, under Statement Modifiers (which talks about the postfix syntax) and under Foreach Loops (which explains that "for" and "foreach" are synonyms).