I've run into a strange problem where a switch I pass to a Perl script I wrote ends up showing up in STDIN. For example running 'controller.pl -c' later results in my receiving '-c' as keyboard input when I use:
$line = <>;
How/why does the argument make it into STDIN?