|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 [184.108.40.206])
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 [220.127.116.11])
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
Subject: Re: [NYLXS - HANGOUT] Perl Toe jam
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.5.18 (2008-05-17)
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