./devel/p5-Data-Page, Pager utility for Class::DBI

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2009Q3, Version: 2.01, Package name: p5-Data-Page-2.01, Maintainer: pkgsrc-users

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.


Required to run:
[lang/perl5]

Required to build:
[devel/p5-Module-Build] [devel/p5-Test-Exception]

Master sites: (Expand)

SHA1: 3e241ace8a40039415dff5f30a74eba1fed84ad4
RMD160: d4975a937d598d10442cd1de97305541bf4e647a
Filesize: 6.438 KB

Version history: (Expand)