You can try opening and reading /dev/stdin or /proc/self/fd/0 on UNIX-like systems (at least on GNU/Linux).
Another way is to use fork to process your file and the command line (see Term::ReadLine, Term::ReadKey etc.) in separate processes.
In reply to Re: Using File::Tail::select with STDIN?
by aitap
in thread Using File::Tail::select with STDIN?
by phillipdhall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |