Path to this page:
./
devel/p5-Data-Page,
Pager utility for Class::DBI
Branch: pkgsrc-2012Q3,
Version: 2.02nb2,
Package name: p5-Data-Page-2.02nb2,
Maintainer: pkgsrc-usersWhen 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.
Master sites: (Expand)
SHA1: b2dd33ba174dc6a00324e436c6dc0ed50c7b2217
RMD160: 42095dfc9a9043fedcf025ee0ebe485823468605
Filesize: 7.997 KB
Version history: (Expand)
- (2012-10-02) Package added to pkgsrc.se, version p5-Data-Page-2.02nb2 (created)