BSD Ports

databases/p5-Data-Page 2.03 DragonFly

Pager utility for Class::DBI

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
databases, perl5
Package size
8.9 KiB, 17.9 KiB installed

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

Install

Binary package:

pkg install p5-Data-Page

From DPorts:

cd /usr/dports/databases/p5-Data-Page && make install clean

Dependencies

Run dependencies 2