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.
$sub
connect_if_necessary
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
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.