mndoci has asked for the wisdom of the Perl Monks concerning the following question:
What I want to do is grab $seqlist[0] and sort the data columns associated with $seqlist[0]. These columns have some lines of text interspersed, which I want to get rid of. I think I can handle that using a regex that only searches for lines which have numbers, text and whitespace. I can then sort the data on the basis of of the numbers in one of the columns. What I am not sure about is how to limit this to the data associated with each element of the array?============================================ $seqlist[0] somenumber ============================================ sorted tables mixed with some lines of text . (these data associated with $seqlist[0] . . ============================================ $seqlist[1] someothernumber ============================================ . . . .. and so on
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 1: Regex help: I hope I make sense
by tilly (Archbishop) on Nov 10, 2001 at 07:52 UTC | |
by mndoci (Scribe) on Nov 12, 2001 at 05:47 UTC |