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

[MacPerl] Searching a VERY large text file



I have moved my project on and am finding MacPerl a very powerful tool -
Thanks Matthias!!

I have two really large text files (6 & 9meg) each containing over 170,000
lines of text (they contain semantic information about every word/phrase in
the English language).

Is there a fast way in Perl/MacPerl to search these files for a particular
string??  The Camel book seemed to suggest using Hashes, but doesn't go
into detail and using the standard 'Open' and <shove into array> requires
MacPerl to have 20Mbytes of RAM assigned to it and me to wait a very long
time.

If anyone has had a similar experience or knows the answer off the top of
their heads then I would really appreciate hearing about it.

Thanks,

Shyam.

__________________________________________________
Developers                                   @ C=+

dev@cequel.co.uk         #include 'cheesyquote.h';
__________________________________________________



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch