in reply to <STDIN> detects only input after perl script is run.
perl filename.pl his passing "h" as a command line parameter. You will find it in @ARGV
is providing no command line parameters, and sending "h" to STDINperl filename.pl h
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: <STDIN> detects only input after perl script is run.
by tty1x (Novice) on May 03, 2013 at 16:47 UTC |