Attache is my test code: while (<STDIN>) {
print "$_"; } I call it via C:>prac.pl < testone.txt The testone.txt file has three lines of text in it. The program runs and emits a single newline, but no text. It is as if it cannot recognize the input information. This is why I was wondering if there is some kind of Windows configuration I should be doing. Bernard -----Original Message----- From: Kevin Horvatin [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 12:07 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: input redirection question You shouldn't have to do anything at all --- if you post a simple program that you believe should work you will get more help. -Kevin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Eisengrein Sent: Friday, April 04, 2003 2:01 PM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: input redirection question Does it truly need to be redirected, or can you just use @ARGV ? -----Original Message----- From: Bernard Golden [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 1:17 PM To: [EMAIL PROTECTED] Subject: input redirection question I want to enable my program to read from STDIN via input redirection, e.g.: myprogram < getstuff When I try it on my machine the program does not see the input. Is there something I should be configuring my machine with to enable it to see redirected input? Many thanks. Bernard Golden _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs