MESSAGE
DATE | 2009-07-15 |
FROM | Ruben Safir
|
SUBJECT | Re: [NYLXS - HANGOUT] Perl Toe jam
|
From lest-hangout-at-mrbrklyn.com Wed Jul 15 11:08:21 2009 Received: from www2.mrbrklyn.com (localhost [127.0.0.1]) by www2.mrbrklyn.com (8.13.1/8.13.1/SuSE Linux 0.7) with ESMTP id n6FF8JLj015142 for ; Wed, 15 Jul 2009 11:08:21 -0400 Received: (from majordomo-at-localhost) by www2.mrbrklyn.com (8.13.1/8.13.1/Submit) id n6FF8JoF015141 for hangout-outgoings; Wed, 15 Jul 2009 11:08:19 -0400 X-Authentication-Warning: www2.mrbrklyn.com: majordomo set sender to lest-hangout-at-nylxs.com using -f Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by www2.mrbrklyn.com (8.13.1/8.13.1/SuSE Linux 0.7) with ESMTP id n6FF8GW0015138 for ; Wed, 15 Jul 2009 11:08:18 -0400 Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mail2.panix.com (Postfix) with ESMTP id 8C6B438E5B for ; Wed, 15 Jul 2009 11:08:12 -0400 (EDT) Received: by panix2.panix.com (Postfix, from userid 20529) id 7518A33C81; Wed, 15 Jul 2009 11:08:12 -0400 (EDT) Date: Wed, 15 Jul 2009 11:08:12 -0400 From: Ruben Safir To: hangout-at-mrbrklyn.com Subject: Re: [NYLXS - HANGOUT] Perl Toe jam Message-ID: <20090715150812.GA26807-at-panix.com> References: <600968.44674.qm-at-web38001.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <600968.44674.qm-at-web38001.mail.mud.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: lest-hangout-at-mrbrklyn.com Precedence: bulk Reply-To: hangout-at-mrbrklyn.com
On Tue, Jul 14, 2009 at 04:00:09PM -0700, Elfen Magix wrote: > For months (on and off) I have been working on my own little project utilizing a simple search script within a database. I deleted some code and worked on it, improving bits here and there... now I need a tiny routine that I have forgotten how to do... > > Currently, the search script dumps what it finds on the database on a single page with line breaks between entries. I need it pagenate the results into linkable pages. I can do this with the example url: http://search.cgi?searchstring=string&page=(a number). > > Everything is currently dumped into 1 variable. How do I break up that variable into separate 10 entry linkable pages? Actually the breaking up is more important, for I can figure out the rest to finish this. The project is about 90% done and this is the only thing holding it back. > > > I'm not sure I know exactly what your doing bt for starters you need to use split to break up the lines.
As for identifying URLS and creating links - look up the perl faq on urls
Ruben
>
|
|