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
| System | Port | Version |
|---|---|---|
| MidnightBSD | databases/p5-DBIx-Simple | 1.37 |
| FreeBSD | databases/p5-DBIx-Simple | 1.37 |
| OpenBSD | databases/p5-DBIx-Simple | 1.37p0 |
| NetBSD | databases/p5-DBIx-Simple | 1.37nb3 |
| DragonFly | databases/p5-DBIx-Simple | 1.37 |
| HardenedBSD | databases/p5-DBIx-Simple | 1.37 |
| GhostBSD | databases/p5-DBIx-Simple | 1.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
p5-DBI>=1.21: databases/p5-DBIp5-DBD-SQLite>=0: databases/p5-DBD-SQLite
Runtime 2
p5-DBI>=1.21: databases/p5-DBIp5-DBD-SQLite>=0: databases/p5-DBD-SQLite
Test 1
p5-DBD-SQLite>=0: databases/p5-DBD-SQLite
Build dependencies 2
Run dependencies 2
Required by 1
Configuration
Options name: databases_DBIx-Simple
| Option | Default | Description |
|---|---|---|
| DBIX_XHTML_TABLE | off | Create XHTML tables from SQL queries |
| SQL_ABSTRACT | off | Generate SQL from Perl data structures |
| SQL_INTERP | off | Interpolate Perl variables into SQL |
| TEXT_TABLE | off | Create 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
| File | Size | SHA256 |
|---|---|---|
| DBIx-Simple-1.37.tar.gz | 20397 | 46d311aa2ce08907401c56119658426dbb044c5a40de73d9a7b79bf50390cae3 |
Master sites 1
- CPAN