How to Install and Uninstall perl-Data-Page Package on openSUSE Leap

Last updated: June 26,2024

1. Install "perl-Data-Page" package

This is a short guide on how to install perl-Data-Page on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-Data-Page

2. Uninstall "perl-Data-Page" package

Please follow the guidance below to uninstall perl-Data-Page on openSUSE Leap:

$ sudo zypper remove perl-Data-Page

3. Information about the perl-Data-Page package on openSUSE Leap

Information for package perl-Data-Page:
---------------------------------------
Repository : Main Repository
Name : perl-Data-Page
Version : 2.03-bp155.2.10
Arch : noarch
Vendor : openSUSE
Installed Size : 34.9 KiB
Installed : No
Status : not installed
Source package : perl-Data-Page-2.03-bp155.2.10.src
Upstream URL : https://metacpan.org/release/Data-Page
Summary : Help when paging through sets of results
Description :
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.
For example, say we wished to page through the integers from 1 to 100 with
20 entries per page. The first page would consist of 1-20, the second page
from 21-40, the third page from 41-60, the fourth page from 61-80 and the
fifth page from 81-100. This module would help you work this out.