Fixed. $fh was going out of scope prematurely when I used
if (!open(my $fh, '<', $filename)) { warn("Unable to open $filename: $!\n"); next; }
I'm not sure how xargs works, but I tested it using antigrep.pl c *
In reply to Re^3: I need "Antigrep"
by ikegami
in thread I need "Antigrep"
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |