Commit graph

3 commits

Author SHA1 Message Date
sno
52e60b51ae Updating devel/p5-Data-Page from 2.01 to 2.02
pkgsrc changes:
- Adding license definition

Upstream changes:
2.02 Mon Dec  7 19:45:33 GMT 2009
    - fix SQL documentation, spotted by Terrence Brannon
    - added change_entries_per_page, patch by James Laver (ELPENGUIN)
    - run perltidy on the modules
2010-02-15 14:33:03 +00:00
he
319b50a352 Update from versoin 2.00nb1 to 2.01.
Upstream changes:

2.01 Wed Oct  8 15:02:25 BST 2008
    - add human-readable license to the documentation
2008-10-30 21:58:24 +00:00
abs
fa922e7d4e Added devel/p5-Data-Page version 2.00
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.
2008-07-14 09:24:06 +00:00