in reply to .csv file in to hash of hashes for a Berkley DB (for a hash newbie)
Not sure why you are using a Berkeley DB, but as a alternative you could use the CSV file itself as the database. Take a look at DBD::CSV.
If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)
In Section
Seekers of Perl Wisdom