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 = <>;
In reply to Re^2: Nicest way of getting STDIN a beauty contest
by mickep76
in thread Nicest way of getting STDIN a beauty contest
by mickep76
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |