databases/p5-Data-Page 2.03 MidnightBSD
Pager utility for Class::DBI
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl
- Categories
- databases, perl5
Description
When searching through large amounts of data, it is often the case that a result set is returned that is larger than we want to display on one page. This results in wanting to page through various pages of data. The maths behind this is unfortunately fiddly, hence this module.
The main concept is that you pass in the number of total entries, the number of entries per page, and the current page number. You can then call methods to find out how many pages of information there are, and what number the first and last entries on the current page really are.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | databases/p5-Data-Page | 2.03 |
| FreeBSD | databases/p5-Data-Page | 2.03 |
| OpenBSD | databases/p5-Data-Page | 2.03p0 |
| NetBSD | devel/p5-Data-Page | 2.03nb8 |
| DragonFly | databases/p5-Data-Page | 2.03 |
| HardenedBSD | databases/p5-Data-Page | 2.03 |
| GhostBSD | databases/p5-Data-Page | 2.03 |
Install
Binary package:
mport install p5-Data-Page
From mports:
cd /usr/mports/databases/p5-Data-Page && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Data-Page>0:databases/p5-Data-Page
Dependencies
As this port's Makefile names them.
Build 1
p5-Class-Accessor-Chained>=0: devel/p5-Class-Accessor-Chained
Runtime 1
p5-Class-Accessor-Chained>=0: devel/p5-Class-Accessor-Chained
Test 1
p5-Test-Exception>=0: devel/p5-Test-Exception
Build dependencies 1
Run dependencies 1
Required by 1
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/Data/Page.pm
- %%PERL5_MAN3%%/Data::Page.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Data-Page-2.03.tar.gz | 28899 | 2efa52167d1f7ab35902cf32ae02776a623705d7919d4118981287b044ce3d8b |
Master sites 1
- CPAN