[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] FileMaker Pro & Output DB



scott@moriah.com writes:
>I downloaded the new version of MaPerl. When I chose help the 
>application said it needed a POD helper.

Yes, this point has been underdocumented. The application you need to set as
the pod helper is "Shuck", to be found in the MacPerl directory.

>Also, We publish a directory of Bed & Breakfast Inns.
[...]
>What I would like to do (I think) is to save my records to an 
>associative array, with the inn name and description, that can be 
>searched for key words.

This is bound to generate dozens of answers better than mine; there are, after
all, whole consulting industries built around questions like these. To give a
quick and vague answer, for fulltext/keyword searches, you're usually better
of with a search loop like

while (<>) {
   result .= $_ if /dshkjdhs/;
}

than with associative arrays. Perl is quite fast for brute force text searches.

Matthias

-----
Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
   "I'm set free to find a new illusion" -- Velvet Underground