Return-Path: Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 56484 invoked by uid 500); 22 May 2003 12:21:41 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 56467 invoked from network); 22 May 2003 12:21:40 -0000 Received: from cpe-203-51-43-158.nsw.bigpond.net.au (HELO cat.pasture.com.au) (203.51.43.158) by daedalus.apache.org with SMTP; 22 May 2003 12:21:40 -0000 Received: from localhost ([127.0.0.1] helo=cat.pasture.com.au ident=gus) by cat.pasture.com.au with esmtp (Exim 3.36 #1 (Debian)) id 19IyRy-000305-00; Thu, 22 May 2003 22:22:14 +0000 Date: Thu, 22 May 2003 22:22:09 +0000 Message-ID: <87n0he62r2.wl@cat.pasture.com.au> From: Angus Lees To: Robert Cc: cprince@rideware.com, embperl@perl.apache.org Subject: Re: RH 9.0 RPMs - Query Results Question In-Reply-To: <3ECCA838.9090305@robert.cz> References: <001e01c32009$aa1eb700$6401a8c0@rwl1> <3ECCA838.9090305@robert.cz> Mail-Followup-To: embperl@perl.apache.org User-Agent: Wanderlust/2.10.0 (Venus) XEmacs/21.4 (Portable Code) When George Bush projectile vomits antipasto on the Japanese. MIME-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N At Thu, 22 May 2003 12:36:40 +0200, Robert wrote: > You'll have to do it manually. If the query is fast, use Limit/Offset or > equivalent otherwise Embperl::Session is your friend. And take a look at > DBIx::Recordset. BTW, it would be nice extension to Recordset - Gerald? see the DBIx::Recordset->PrevNextForm function for a wrapper into the Limit/Offset method. also read Intrors.pod from DBIx::Recordset for a worked embperl example. grabbing all the results in one go, storing it in %udat somewhere and then displaying only a certain range of the precached results should be quite straightforward to implement yourself. the cost of repeatedly retrieving such a large stored session might well be more than the cost of redoing your search query though. -- - Gus --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org