Keys in hashes tied to DBM files can store keys with unlimited length.
Why is it difficult to insert data into normal files?
The surrounding data has to be moved to accommodate it.
Normal files cannot be opened for reading and writing at the same time.
The file must be locked while the file is being edited.
Locking files is covered in which section of the FAQ?
b. The total combined length of a key and value in a DBM file is 1,024 characters, by default.
a. Data cannot easily be moved "up" and "down" within a file, so moving the surrounding data can be exceedingly difficult. Choice c is also true, but only when the file may be used by more than one program at a time.
Section 5, "Files and Formats."
© 2000- NIV