BSD Ports

databases/p5-DBIx-Simple 1.37 MidnightBSD

Simplified object oriented interface to Perl DBI

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
perl
Categories
databases, perl5

Description

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".

In the other systems

SystemPortVersion
MidnightBSDdatabases/p5-DBIx-Simple1.37
FreeBSDdatabases/p5-DBIx-Simple1.37
OpenBSDdatabases/p5-DBIx-Simple1.37p0
NetBSDdatabases/p5-DBIx-Simple1.37nb3
DragonFlydatabases/p5-DBIx-Simple1.37
HardenedBSDdatabases/p5-DBIx-Simple1.37
GhostBSDdatabases/p5-DBIx-Simple1.37

Install

Binary package:

mport install p5-DBIx-Simple

From mports:

cd /usr/mports/databases/p5-DBIx-Simple && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-DBIx-Simple>0:databases/p5-DBIx-Simple

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Test 1

Build dependencies 2
Run dependencies 2
Required by 1

Configuration

Options name: databases_DBIx-Simple

OptionDefaultDescription
DBIX_XHTML_TABLEoffCreate XHTML tables from SQL queries
SQL_ABSTRACToffGenerate SQL from Perl data structures
SQL_INTERPoffInterpolate Perl variables into SQL
TEXT_TABLEoffCreate plain text table from data
USES
perl5
Service scripts
none

Files

pkg-plist 8
  • %%SITE_PERL%%/DBIx/Simple.pm
  • %%SITE_PERL%%/DBIx/Simple/Comparison.pod
  • %%SITE_PERL%%/DBIx/Simple/Examples.pod
  • %%SITE_PERL%%/DBIx/Simple/Result/RowObject.pm
  • %%PERL5_MAN3%%/DBIx::Simple.3.gz
  • %%PERL5_MAN3%%/DBIx::Simple::Comparison.3.gz
  • %%PERL5_MAN3%%/DBIx::Simple::Examples.3.gz
  • %%PERL5_MAN3%%/DBIx::Simple::Result::RowObject.3.gz
distinfo 1
FileSizeSHA256
DBIx-Simple-1.37.tar.gz2039746d311aa2ce08907401c56119658426dbb044c5a40de73d9a7b79bf50390cae3
Master sites 1
  • CPAN