BSD Ports

databases/p5-Data-Page 2.03 FreeBSD

Pager utility for Class::DBI

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
databases, perl5
Package size
9.3 KiB, 17.6 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
FreeBSDdatabases/p5-Data-Page2.03
OpenBSDdatabases/p5-Data-Page2.03p0
NetBSDdevel/p5-Data-Page2.03nb8
DragonFlydatabases/p5-Data-Page2.03
MidnightBSDdatabases/p5-Data-Page2.03

Install

Binary package:

pkg install p5-Data-Page

From the ports tree:

cd /usr/ports/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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.032.032.032.032.03
FreeBSD:14:quarterly2.032.03n/a2.032.03
FreeBSD:15:latest2.032.03n/a2.032.03
FreeBSD:15:quarterly2.032.03n/an/an/a
FreeBSD:16:latest2.032.03n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 3
Run dependencies 3

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

Commit history 0

No commits in the history this site was built from.