Oh, well this was an amazing help. Should I include my full code? It seemed like a lot to post, so I omitted it.
grep { -f && /^parsed.*\.txt$/ caused an error, so I used grep { '-f' && /^parsed.*\.txt$/} with single quotes, until this is tested, I just won't check if it's a file.
Your post definitely gave me hope that I can find a way to optimize the rest of the script. I was really impressed by the use of $/ to eliminate so much. I hope I can begin to think that way. It may help to amalgamate all the files into one before hand to avoid that one loop
Thanks!
In reply to Re^2: Using FastCGI
by jonc
in thread Using FastCGI
by jonc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |