Thanks a lot for your suggestions. I will have a look at the file. For now, until I have a better grasp of regexps, I will be content with another approach to making the script run faster: now the script builds up a look-up table for every two-letter combination in the "wholetext", which lateron speeds searching (depending on the length of the whole text) by a factor from 20 to 500 times. > Von: Larry Moore <ljmoore@freespace.net> > Datum: Mon, 28 Feb 2000 10:21:26 -0500 > An: Ronald J Kimball <rjk@linguist.dartmouth.edu> > Cc: miku <miku@onlinehome.de>, Mac Perl <macperl@macperl.org> > Betreff: Re: [MacPerl] poets mix problems > > At 23:28 -0500 27/02/2000, Ronald J Kimball wrote: >> Sounds sort of like travestry, which is in the eg/ directory of the Perl >> distribution. That one works on words, though, whereas yours will work on >> characters. >> >> MacPerl doesn't come with the eg/ directory. You can download travesty at >> <http://linguist.dartmouth.edu/~rjk/travesty>. This is the version from >> Programming Perl, 1st ed. (with one bug fix). It will run until >> terminated. >> > You'll find it in the MacPerl_Src:perl:eg folder of the source distribution. > > > > # ===== Want to unsubscribe from this list? > # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org > # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org