Help: Filehandle problem

Hello, I want to process the output of a program. Anyway, the output is showing on screen. Is there any way to process it by using file handle? I don't suppose I should save the output as a file then process this file. Thank you very much~ Regards, Amy