perl not reading right??
Posted on 2000-04-02
i am running active perl on my win98 pc. i am also running visual perl editor to edit my scripts, i am new to perl and the problem i am having is that when i type in a code
print "hello what is your name\n";
$reply = <STDIN>;
print "your reply was $reply\n";
and when i run it in msdos, the screen comes up blank, then if i type in a word, the screen runs the whole script at once using whatever i typed in, but i know that the "hello what is your name" should come up before the stdin correct??
but it doesnt, it all runs at the same time after i type a word in?
can anyone help me,