in reply to Re^2: detect input available from command line
in thread detect input available from command line

I have a program that may try to get data from the command line using

What if the input is not coming from @ARGV but from stdin?

If the input is coming from STDIN then it is not on the command line.

  • Comment on Re^3: detect input available from command line