open(OUTPUT, "$script | grep EXPRESSION |"); my @output = ; #### open(OUTPUT, "$script |"); my @output = ; @output = grep { EPRESSION } @output;