in reply to Flat File Database

If your needs are simple, you may like SDBM_File. It's cross-platform, as you mentioned, but is limited to retrieval via one key only. It uses the tie interface, so you wouldn't need to deal with the I/O guts. Just read and write hash keys.

If your needs are more complex, some other ideas: