in reply to Re: Automating the input to exe file
in thread Automating the input to exe file
That's what I thought at first, but he is matching against $_ as intended. However, he is storing the number of matches in variables he never uses, and uses the /g modifier needlessly.