Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libdata-page-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libdata-page-perl  ]

套件: libdata-page-perl (2.02-1)

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.

其他與 libdata-page-perl 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 libdata-page-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 10.9 kB68 kB [文件列表]