in reply to Re: What is the output of perl command?
in thread What is the output of perl command?

$ perl | ls
ls does not need input to run. So, it ran and gave the output, perl still waiting for some input.
Try
$ perl | wc -l
and you will see both perl and wc waiting for their respective inputs- perl from the user and wc from the pipe.