$/="\n--\n"; my $value; while (<>) { my @arr = split "\n"; if (@arr >= 3 and $arr[-3] =~ /ABC SET/) { $value++; } }
In reply to Re: Help With Parsing a File
by runrig
in thread Help With Parsing a File
by PrimeLord
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |