my @cutoff = grep /proxy_/,@_; s/ROUNDROBIN_PARENT\///g for @cutoff; @cutoff = grep /@cutoff/,@cfg;
I'm not sure what this is supposed to be doing, but it somehow looks suspicious ;) In @_ you have one line — as read from FH and passed to ban() ... What do those lines look like, and what do you expect to be in @cutoff after those three lines have executed?
You said it worked from the command line. How did you call it for this?
P.S.: please indent your code properly. You'll not only do us a favor, but yourself, too, in the long run...
In reply to Re^5: Real time log parser
by Eliya
in thread Real time log parser
by kazak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |