in reply to SQL with Berkely DB

Look at DBD::SQLite for a way to do SQL queries without an SQL database.