while(<fname>){ $/="\n--\n"; ($_ =~ /ABC SET/)?$values++:next; } [download]
In reply to Re: Re: Help With Parsing a File by OM_Zen in thread Help With Parsing a File by PrimeLord