Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!romp!auschs!d75!awdprime!hotwheel.austin.ibm.com!root From: root@hotwheel.austin.ibm.com (/50000) Newsgroups: comp.lang.perl Subject: Redirection (STDOUT) Message-ID: <8378@awdprime.UUCP> Date: 11 Jun 91 20:13:59 GMT Sender: news@awdprime.UUCP Organization: IBM AWD, Austin Lines: 11 Originator: root@hotwheel.austin.ibm.com Hi guys, I have a question with respect to redirection. Is there a way to know whether the standard output has been redirectedinside a perl script. eg : perl.script > perl.script.out here as you see the standard output is being redirected to perl.script.out DISCLAIMER: My opinions are independent of IBM's position.