freebsd-ports/databases/p5-Data-Page/pkg-descr
Kirill Ponomarev fbb8501f1c New port databases/p5-Data-Page
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.

PR:		54720
Submitted by:	Mathieu Arnold <m@absolight.net>
Approved by:	fjoe (mentor)
2003-07-22 13:47:14 +00:00

11 lines
607 B
Text

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.
WWW: http://search.cpan.org/dist/Data-Page/