Tie::File can be slow
Care to back that statement up in regards to this question?
Did you miss the qx(grep '^$pos' $index) being executed in every iteration of the loop?
If you're trying to help the OP, you should respond to Better way to search an Array?
In reply to Re^3: Better way to search an Array? (Tie::File options)
by Anonymous Monk
in thread Better way to search an Array?
by doubleqq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |