in reply to Re: output from an external program
in thread output from an external program

The reason was that I wanted to use data from STDIN and pipe it through extprog. When doing
while (<>)
the loop will run as long as data kept coming from STDIN, and all data will be piped into extprog inside the loop.
This as opposed to doing
while (<EXT>)
which would require extproc to produce output for the loop to run. Since extproc requires input to produce output it would never run, atleast not the way my example was written.