while (my $line = <STDIN>) { &do_something_with($line); } [download]
In reply to Re: Re: Reading a pipe by ok in thread Reading a pipe by mpolo