in reply to Re^2: I need "Antigrep"
in thread I need "Antigrep"

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 *