Well, I am using DB_File so it's not a flat-file, but still not a very efficient database. What bothers me is that, even if the database isn't that good, it currently stores only a few entries, so I really can't see why the program fails. I am using DBM databases for quite a while and never had this problem...