in reply to Re: Nicest way of getting STDIN a beauty contest
in thread Nicest way of getting STDIN a beauty contest
It will wait in perpetuity before exiting if no input was provided to STDIN and no file was specified.
So yes magic <> would have worked if I didn't want it to exit.
If that was all I wanted a simple ...below... would have worked.
my @hosts = <>;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Nicest way of getting STDIN a beauty contest
by shmem (Chancellor) on Oct 09, 2009 at 09:30 UTC |