Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!sei!df From: df@sei.cmu.edu (Dan Farmer) Newsgroups: comp.lang.perl Subject: catching stuff from shell commands Keywords: system, exec, etc. Message-ID: <9734@as0c.sei.cmu.edu> Date: 17 Dec 90 20:54:45 GMT Organization: Carnegie-Mellon University (Software Engineering Institute), Pgh, PA Lines: 10 I'm trying to run a program (via system or otherwise) and catch the stdout and stderr. Throwing it to a file and reading it there is easy enough, but I'm looping through this command lots of times, and I'd like to be able to redirect it to a variable. Any ideas? Tnx -- -- dan df@death.cert.sei.cmu.edu