BSD Ports

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

SystemPortVersion
MidnightBSDdatabases/p5-Data-Page2.03
FreeBSDdatabases/p5-Data-Page2.03
OpenBSDdatabases/p5-Data-Page2.03p0
NetBSDdevel/p5-Data-Page2.03nb8
DragonFlydatabases/p5-Data-Page2.03
HardenedBSDdatabases/p5-Data-Page2.03
GhostBSDdatabases/p5-Data-Page2.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

Runtime 1

Test 1

Build dependencies 1
Run dependencies 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
FileSizeSHA256
Data-Page-2.03.tar.gz288992efa52167d1f7ab35902cf32ae02776a623705d7919d4118981287b044ce3d8b
Master sites 1
  • CPAN