Perhaps the -t test or the PBP-blessed IO::Interactive would help?
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: detect input available from command line
by Fletch
in thread detect input available from command line
by mifflin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |