tomazos has asked for the wisdom of the Perl Monks concerning the following question:

I feel a bit silly...

#!perl # use strict; use warnings; while (<STDIN>) { print "$_\n"; }

Now on a Win32 cmd.exe...

C:/> ./ < somefile C:/>

Prompt returns. Nothing happens. There is definately data in somefile. I am clearly missing something very obvious. ?

When I run it without taking stdin from a file:

C:/> ./ fsanlfga fsanlfga

It works fine and echos the lines I type.

Any ideas?