in reply to Re: detect input available from command line
in thread detect input available from command line
What if the input is not coming from @ARGV but from stdin?
example:
example:
In this case @ARGV is empty but there is still something to read. How would I detect this?$ ./testprog -t testing@testing.com -s test5 <<EOT; > stuff > typed > in > here > EOT
In Section
Seekers of Perl Wisdom