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 seems to me like the standard Perl for. Takes each element and executes the body (in this case is before) with $_ substituted with each element. It is just an alternate syntax for: for (@array) { statements }
for
$_
for (@array) { statements }