File: control

package info (click to toggle)
libdata-page-perl 2.02-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 96 kB
  • ctags: 15
  • sloc: perl: 256; makefile: 5
file content (24 lines) | stat: -rw-r--r-- 1,143 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Source: libdata-page-perl
Section: perl
Priority: optional
Maintainer: Bart Martens <bartm@debian.org>
Build-Depends: cdbs, debhelper (>= 5)
Build-Depends-Indep: perl (>= 5.6.0-16), libclass-accessor-chained-perl, libtest-simple-perl, libtest-exception-perl, libtest-pod-perl (>= 1.14), libtest-pod-coverage-perl (>= 1.04)
Standards-Version: 3.8.3
Homepage: http://search.cpan.org/dist/Data-Page/

Package: libdata-page-perl
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends}, libclass-accessor-chained-perl
Description: Help when paging through sets of results
 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.