Next | Lightweight Databases | 80 |
The best choice
Berkeley DB was good ten years ago and it has gotten better
Basic usage is very simple:
use DB_File; tie %hash, 'DB_File', $file or die ...;
Optional arguments:
tie %hash, 'DB_File', $file, O_RDONLY;
tie %hash, 'DB_File', $file, O_CREAT | O_RDWR;
tie %hash, 'DB_File', $file, O_CREAT | O_RDWR, 0666;
Now use %hash just like any other hash
Next | Copyright © 2003 M. J. Dominus |