open( SOME_PIPE, "some command -|" ) or die "Cannot open pipe: $!\n"; my @output = ; close SOME_PIPE;