I see lots of great things in and about Perl, but I don't always use them or grasp them until I come across a problem where one of those things make my life infinitely easier. Today, selectall_arrayref (in DBI) is that thing.
Some creative use of selectall_arrayref is preventing me from having to create additional database connections within an app I'm rewriting. Given the increasing popularity of the site I'm working on, every free resource I can preserve is like gold.
All hail the mighty selectall_arrayref!