2009/11/17 Gabor Szabo <szabgab at gmail.com>: > open my $ph, "$cmd |" or die; The 3 argument form of open is better, though technically for external commands it's potentially more than 3 ;-) open my $ph, "-|", @cmd;