
WE::DB::Base - base class for all database classes


Connect to the database,
if there is not a database connection yet,
and execute the supplied subroutine $sub.
The return value of $sub will be returned by connect_if_necessary.
Exceptions are also forwarded to the caller,
but after the connection is closed,
if needed.
Disconnect the database. No further access on the database may be done.
Delete the database completely, including the disk file.

Slaven Rezic - slaven@rezic.de
