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.
In reply to Alternative answer - use the CSV file as the database
by space_monk
in thread .csv file in to hash of hashes for a Berkley DB (for a hash newbie)
by Doozer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |