in reply to Checking installed MySQL databases with DBI

I've always been a fan of:
sub DBList { my ($db_ref) = $db->selectcol_arrayref("SHOW DATABASES"); return @$db_ref if ($db_ref); return; }
I'm not sure about the portability of that...