while(<STDIN>) { #or just while(<>) &do_something_with($_); } [download]
In reply to Re: Re: Re: Reading a pipe by Anonymous Monk in thread Reading a pipe by mpolo