SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Net-MySQL rpm build for : OpenSuSE. For other distributions click perl-Net-MySQL.

Name : perl-Net-MySQL
Version : 0.11 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : lp155.1.1 Date : 2023-07-20 17:26:37
Group : Development/Libraries/Perl Source RPM : perl-Net-MySQL-0.11-lp155.1.1.src.rpm
Size : 0.03 MB
Packager : https://www_suse_com/
Summary : Pure Perl MySQL network protocol interface
Description :
Net::MySQL is a Pure Perl client interface for the MySQL database. This
module implements network protocol between server and client of MySQL, thus
you don\'t need external MySQL client library like libmysqlclient for this
module to work. It means this module enables you to connect to MySQL server
from some operation systems which MySQL is not ported. How nifty!

Since this module\'s final goal is to completely replace DBD::mysql, API is
made similar to that of DBI.

From perl you activate the interface with the statement

use Net::MySQL;

After that you can connect to multiple MySQL daemon and send multiple
queries to any of them via a simple object oriented interface.

There are two classes which have public APIs: Net::MySQL and
Net::MySQL::RecordIterator.

$mysql = Net::MySQL->new(
hostname => $host,
database => $database,
user => $user,
password => $password,
);

Once you have connected to a daemon, you can can execute SQL with:

$mysql->query(q{
INSERT INTO foo (id, message) VALUES (1, \'Hello World\')
});

If you want to retrieve results, you need to create a so-called statement
handle with:

$mysql->query(q{
SELECT id, message FROM foo
});
if ($mysql->has_selected_record) {
my $a_record_iterator = $mysql->create_record_iterator;

}

This Net::MySQL::RecordIterator object can be used for multiple purposes.
First of all you can retreive a row of data:

my $record = $a_record_iterator->each;

The each() method takes out the reference result of one line at a time, and
the return value is ARRAY reference.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-N/15.5/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Net-MySQL-0.11-lp155.1.1.noarch.rpm
     

Provides :
perl(Net::MySQL)
perl(Net::MySQL::Password)
perl(Net::MySQL::Password32)
perl(Net::MySQL::RecordIterator)
perl(Net::MySQL::Util)
perl-Net-MySQL

Requires :
perl(:MODULE_COMPAT_5.26.1)
perl(Digest::SHA1)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.26.1/Net
/usr/lib/perl5/vendor_perl/5.26.1/Net/MySQL.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-Net-MySQL
/usr/share/doc/packages/perl-Net-MySQL/Changes
/usr/share/doc/packages/perl-Net-MySQL/README
/usr/share/man/man3/Net::MySQL.3pm.gz

 
ICM