QDBM provides API for Perl. This encapsulates the basic API, the extended API and the advanced API of QDBM. These APIs are implemented with the APIs for C called with XS language. There are two kinds of interfaces to handle a database: using methods directly and using tying functions with a hash.
In case of using methods, you call the constructor `new' of the class `Depot', `Curia' or `Villa' to open a database file or directory and get the handle. The method `close' is used in order to close the database. If the instance is destroyed without closing the database explicitly, the destructor closes the database. The method `put' is used in order to store a record. The method `out' is used in order to delete a record. The method `get' is used in order to retrieve a record. Besides, most operations like ones of the APIs for C are available.
In case of using tying functions, you call the `tie' function whose parameters are the same as ones of the constructor. After tying, operations with the tied hash perform as operations to the binded database. You use the `untie' function to close the database.
Although keys and values of storing records are treated as strings, binary data can be stored as they are. `Depot' realizes a hash database with a file. `Curia' realizes a hash database with a directory and multiple files. `Villa' realizes a B+ tree database with a file. `Depot' is fastest. `Curia' is most scalable. `Villa' provides cursor supporting ordering access.
For more information about the APIs, read documents in the sub directory `plapidoc'.
Make sure that Perl 5.6.0 or later version is installed and make sure that QDBM is installed under `/usr/local'.
Change the current working directory to the sub directory named `perl'.
cd perl
Run the configuration script.
./configure
Build programs.
make
Perform self-diagnostic test.
make check
Install programs. This operation must be carried out by the root user.
make install
When a series of work finishes, `Depot.so', `Depot.pm', `Curia.so', `Curia.pm', `Villa.so', `Villa.pm', and so on are installed under an appropriate directory according to the install directory of Perl. Executable commands `pldptest', `plcrtest', and `plvltest' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.
To uninstall est' will be installed in `/usr/local/bin'.<