From: Paul Lutus Date: 2006-09-28T06:50:22+09:00 Subject: Re: how to determine if pipe is given greg wrote: > sorry, misread some perl stuff. > > How about a global flag or constant > like $PIPE set to true if there is a pipe, and otherwise set to false? Are you asking whether this is true, or whether it would be a good idea? If the latter, I personally think stuff like this should be explicitly coded by the programmer. There are situations where detecting the presence/absence of a pipe may have side effects best avoided. Of course, reasonable people may (will) differ. -- Paul Lutus http://www.arachnoid.com