Syntactic Confectionery Delight | |
PerlMonks |
Relational textfile?by peppiv (Curate) |
on Jan 09, 2002 at 01:43 UTC ( [id://137266]=perlquestion: print w/replies, xml ) | Need Help?? |
peppiv has asked for the wisdom of the Perl Monks concerning the following question:
I have a pipe delimited text file. Looks like this: Jimmy | yes | | | yes | yes | yes Robert | yes | yes | | | | JohnPaul | yes | yes | yes | yes | | Bonzo | | | yes | yes | yes | | How can I make a list from multiple field choices? example - List 1 = those who have "yes" in field #2 but nothing in field #3 List 2 = those who have "yes" in field #2 and field #7 List 3 = "yes" in field #2, nothing in field #3, but yes in field #6 Oh, where to start? Please! I need help! peppiv
Back to
Seekers of Perl Wisdom
|
|