Hello,

I normally use perl on a unix platform, but I needed to run a quick utility
on a Windows PC.  Normal stdin and stdout doesn't seem to work, take this
simple program:

#
use warnings;
use strict;

while (<>) {
        print;
}

On Windows, if I run:
        type test.txt | test.pl
I get:
        The process tried to write to a nonexistent pipe.
or
        test.pl < test.txt
I get nothing at all.  Any tricks to using stdin and stdout on Windows or do
I have to explicitly open files on that platform?

Using Activestate 5.6 on Windows NT.

-Mark


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to