On Sun, Sep 05, 1999 at 03:28:21AM -0700, Larry F. Allen-Tonar wrote: > Randy, > cc: Bart, > At 1:45 AM 9/5/99, Bart Lateur wrote: > >On Sat, 4 Sep 1999 22:51:28 -0400, Randy M. Zeitman wrote: > >>I'm matching a string to text file of records (rows). Each entry (column) > >>in each record is tab separated (a la spreadsheet). > >>But sometimes I want to only match against columns 2,3,and 4, of all > ... > > if("@field[2,4,7]" =~ /searchterm/) { > ... > Note that this form no longer has the tabs to delineate fields in the > searchterm. Note that you snipped too much of Bart's code. The first line in that code block was: local $" = "\t"; # why not? Ronald ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org