It's the specific usage of the system grep that I'm having trouble with in Perl.
Is scaler variables' interpolation going to occur correctly with this?
It isn't coming back out of the while loop.
Actually, what I'm trying to do is determine if specific vendor numbers exist in a specific directory. There are multiple files in the directory. One found, save in another file.
So, in Unix the grep would be
grep "myvendor" mydir/*
But I cannot get the syntax down using Perl. Newbie.