Every time I see code examples for operations like these, it reminds me of how nice Ruby is as a language. The blocks are concise, non-cryptic and could even shortened to .map(&:twitter_handle).compact
sub twitter_handles {
my ( $authors, $company ) = @_;
grep defined,
map $_->twitter_handle,
grep $_->company eq $company, @$authors;
}
This free book goes into the same kind of topic, only much more deep: http://hop.perl.plover.com/