Harvest::Database::DBM - Database of all gathered objects | |
| |
DESCRIPTION | |
This is an Harvest::Database class, which stores its information in DBM files. This class inherits some functionality from Harvest::Database::Generic, see that page for more details of available methods.
| |
METHODS =cut | |
# require Exporter; # @ISA=qw (Exporter);
require Harvest::Database::Generic; use Fcntl; use Harvest::Object;
| |
$db=new Harvest::Database::DBM ($mode,$metaclass,$config); | |
This method opens a new DBM based database, with the following configuration
| |
$db->store($object) | |
Store the given object in the database.
| |
$manage=$db->manage($url) | |
Return the Harvest::Object::Manage information for the object with the given $url. Returns undef if that object does not exist in the database.
| |
$object=$db->fetch($url) | |
Return the Harvest::Object object for the object with the given $url. Returns undef if that object does not exist in the database.
| |
$db->delete($url) | |
Delete the object with the given
| |
$ok=$db->exists($url); | |
Returns true if the given
| |
$db->foreach($proc,@args) | |
Iterate through the database, applying | |