blob: e8d8bab5e462f59c8879e6be80a12119edcd38d2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
DBIx::Simple module aims to be a simplified object oriented interface to Perl
DBI. From its description ...
Query preparation and execution are combined in a single method, the result
object (which is a wrapper around the statement handle) provides easy
row-by-row and slurping methods.
The "query" method returns either a result object, or a dummy object. The
dummy object returns undef (or an empty list) for all methods and when used in
boolean context, is false. The dummy object lets you postpone (or skip) error
checking, but it also makes immediate error check simply " $db->query(...) or
die $db->error".
|