WE::DB::Name - a name to id database
new WE::DB::Name $rootdb, $databasefilename;
A class for a name-to-id database.
Usually called from WE::DB.
WE::DB
Set a name for the specified id.
Delete the specified name from the database
Get the id for the specified name, or return undef, if there is no such name in the database.
Return an array of all names for the specified object id.
Update of the database by adding all names from $add_objects and deleting all names from $del_objects. $add_objects and $del_objects are array references with WE::Obj objects.
$add_objects
$del_objects
WE::Obj
Complete rebuild of the name database from the object database. $objdb is optional, by default the standard ObjDB of the Root is used.
$objdb
ObjDB
Root
Delete all database contents
Disconnect the database. No further access on the database may be done.
Return an array with all used names.
Return true if the name is already occupied.
Slaven Rezic - slaven@rezic.de
To install WE::DB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WE::DB
CPAN shell
perl -MCPAN -e shell install WE::DB
For more information on module installation, please visit the detailed CPAN module installation guide.