How to Install and Uninstall perl-Apache-DBI Package on openSUSE Leap

Last updated: November 26,2024

1. Install "perl-Apache-DBI" package

Learn how to install perl-Apache-DBI on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-Apache-DBI

2. Uninstall "perl-Apache-DBI" package

Here is a brief guide to show you how to uninstall perl-Apache-DBI on openSUSE Leap:

$ sudo zypper remove perl-Apache-DBI

3. Information about the perl-Apache-DBI package on openSUSE Leap

Information for package perl-Apache-DBI:
----------------------------------------
Repository : Main Repository
Name : perl-Apache-DBI
Version : 1.12-bp155.2.9
Arch : noarch
Vendor : openSUSE
Installed Size : 130.1 KiB
Installed : No
Status : not installed
Source package : perl-Apache-DBI-1.12-bp155.2.9.src
Upstream URL : http://search.cpan.org/dist/Apache-DBI/
Summary : Initiate a persistent database connection
Description :
This module initiates a persistent database connection.
The database access uses Perl's DBI. For supported DBI drivers see:
http://dbi.perl.org/
When loading the DBI module (do not confuse this with the Apache::DBI
module) it checks if the environment variable 'MOD_PERL' has been set and
if the module Apache::DBI has been loaded. In this case every connect
request will be forwarded to the Apache::DBI module. This checks if a
database handle from a previous connect request is already stored and if
this handle is still valid using the ping method. If these two conditions
are fulfilled it just returns the database handle. The parameters defining
the connection have to be exactly the same, including the connect
attributes! If there is no appropriate database handle or if the ping
method fails, a new connection is established and the handle is stored for
later re-use. There is no need to remove the disconnect statements from
your code. They won't do anything because the Apache::DBI module overloads
the disconnect method.