in reply to passing array arguments to exec()
Now, given that perl has a very nice built in grep, there's no reason to try to pipe in the eval. Simply, in your parent, after reading the pipe, do a line like..
to do the same thing.@output = grep { /$process/ } @output;
|
|---|