databases/p5-Data-Page 2.03p0 OpenBSD
pager utility
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- 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 |
|---|---|---|
| OpenBSD | databases/p5-Data-Page | 2.03p0 |
| FreeBSD | databases/p5-Data-Page | 2.03 |
| NetBSD | devel/p5-Data-Page | 2.03nb8 |
| DragonFly | databases/p5-Data-Page | 2.03 |
| MidnightBSD | databases/p5-Data-Page | 2.03 |
| HardenedBSD | databases/p5-Data-Page | 2.03 |
| GhostBSD | databases/p5-Data-Page | 2.03 |
Install
Binary package:
pkg_add p5-Data-Page
From the ports tree:
cd /usr/ports/databases/p5-Data-Page && make install