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

Noted on  use strict :)