You should get that outside the loop, and perhaps save the contents of the split @flab into a hash, with the 'name' as the key.
This will enable you to lookup $hash{$sTab[1]} , instead of your current regex compare.
Please do not post word-processor mutilated, un-compilable code. That makes identifying your intent difficult.
Profanity is the one language all programmers know best.
In reply to Re: Script Executes Very Slowly
by NetWallah
in thread Script Executes Very Slowly
by doubleqq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |