Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by narn.NetBSD.org (Postfix) with ESMTP id 4F36363B89E for ; Mon, 14 Jul 2008 09:24:07 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 0) id 0AA2763B1D1; Mon, 14 Jul 2008 09:24:07 +0000 (UTC) Received: from cvs.netbsd.org (unknown [IPv6:2001:4f8:4:7:2e0:81ff:fe25:eab4]) by mail.netbsd.org (Postfix) with ESMTP id 429D963B1CF for ; Mon, 14 Jul 2008 09:24:06 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 3401E175D0; Mon, 14 Jul 2008 09:24:06 +0000 (UTC) From: David Brownlee Subject: CVS commit: pkgsrc/devel/p5-Data-Page To: pkgsrc-changes@NetBSD.org Reply-To: abs@netbsd.org Message-Id: <20080714092406.3401E175D0@cvs.netbsd.org> Date: Mon, 14 Jul 2008 09:24:06 +0000 (UTC) Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes Precedence: list Module Name: pkgsrc Committed By: abs Date: Mon Jul 14 09:24:06 UTC 2008 Update of /cvsroot/pkgsrc/devel/p5-Data-Page In directory ivanova.netbsd.org:/tmp/cvs-serv11230 Log Message: 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. Status: Vendor Tag: TNF Release Tags: pkgsrc-base N pkgsrc/devel/p5-Data-Page/distinfo N pkgsrc/devel/p5-Data-Page/Makefile N pkgsrc/devel/p5-Data-Page/DESCR No conflicts created by this import