in reply to When is a flat file DB not enough?
I also like DBD::CSV, and if you need to switch from a flat file to a database, DBD::CSV makes this easy.
You didn't mention if you will need to load the whole file into memory at once. If you do need to load the whole file often, and it gets larger than about 50MB, it might be a good idea to use the Storable module. Storable stores and loads a perl data structure. It is amazingly fast and easy to use.
The downside of Storable is that it creates a file that is machine-architecture dependent (that is, not particulary portable). Also, it uses a binary file format, so you won't be able to browse it with a text editor.
It should work perfectly the first time! - toma
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re2: When is a flat file DB not enough?
by bikeNomad (Priest) on Jul 03, 2001 at 22:40 UTC |