That's the right strategy; post a minimal snippet that still demonstrates the problem. May have helped the curious if the original question mentioned 'this is a boiled down snippet' or something like that. Even though it's absolutely what people should be doing, the reality is that way too often we see some completely irrelevant code, or an entire script with no attempt to isolate the problem. Your post was great, and it motivated me to dig into the Perl docs. Any post that intrigues me enough to dig into the documentation again deserves a ++.
Dave
In reply to Re^4: grep trouble
by davido
in thread grep trouble
by LogMiner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |