mberends/MiniDBI/lib/MiniDBD

MiniDBI src

DESCRIPTION

The MiniDBD module contains generic code that should be re-used by every database driver, and documentation guidelines for DBD implementation. It is also an experiment in distributing Pod fragments in and around the code. Without syntax highlighting, it is very awkward to work with. It shows that this style of file layout is unsuitable for general use.

ROLES

(head2) role MiniDBD::StatementHandle
The Connection prepare method returns a StatementHandle object that mainly provides the execute and finish methods.
(head3) MiniDBD::StatementHandle members
(head4) instance variables
(head5) $!errstr
The $!errstr variable keeps an internal copy of the last error message retrieved from the database driver. It is cleared (when?).
(head5) $.PrintError
The $.PrintError variable is a read-write Bool. True causes the text of any error messages received from the database driver to be sent immediately to the standard error output via warn().
(head4) methods
(head5) errstr
This is the accessor method for the last error string returned by the database driver.
(head2) role MiniDBD::Connection
(head3) MiniDBD::Connection members
(head4) instance variables
(head5) $!errstr
The $!errstr variable keeps an internal copy of the last error message retrieved from the database driver. It is cleared (when?).
(head4) methods
(head5) do
(head5) disconnect
The disconnect method
(head5) errstr
This is the accessor method for the last error string returned by a connection method.

SEE ALSO

The Perl 5 L<DBI::DBD>.

Perl 6 Tricks and Treats newsletter

Register to the free newsletter now, and get updates and news.
Email:
Name: