Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bywater!arnor!arnor!victor From: victor@irt.watson.ibm.com (Victor Miller) Newsgroups: comp.lang.perl Subject: Getting output from stderr Message-ID: Date: 21 Feb 91 21:01:05 GMT Sender: news@arnor.uucp (NNTP News Poster) Reply-To: victor@ibm.com Distribution: comp Organization: IBM, T.J. Watson Research Center Lines: 8 Suppose that foo is a system command, which produces output on STDOUT, and might produce output on STDERR. How can I capture both in perl variables (short of redirecting STDERR to a file - ugh!)? -- Victor S. Miller Vnet and Bitnet: VICTOR at WATSON Internet: victor@ibm.com IBM, TJ Watson Research Center