Syntactic Confectionery Delight | |
PerlMonks |
Re: (ichimunki) re: Grep Effeciencyby ImpalaSS (Monk) |
on Feb 28, 2001 at 00:41 UTC ( [id://61165]=note: print w/replies, xml ) | Need Help?? |
Well, There are 2 seperate files. The ECL_STAT and the CEL_STAT. Then there are 1200 NETID's. What im trying to do ( with maximim speed) is, grab all the data from (ECL_STAT), then split each line found, and perform calculations to certain fields. Then, do the samt thing to the CEL_STAT file using the same netid. It is faster if i dont use the second line (the !/^$NETID/) one, but i wanted to show what i want to do. I want it so that, once all the $NETID's (for example 12753pa), delete those lines from each array, thus making the arrays smaller and easier to search the next time around? I hope this makes some kind of sence Thanks Dipul
In Section
Seekers of Perl Wisdom
|
|