in reply to Re: <STDIN> detects only input after perl script is run.
in thread <STDIN> detects only input after perl script is run.

Ahh thanks for the @ARGV . That answers my question :)