Hello!

When I try this on Unix, it runs pretty fast ...

    spew_10MB_or_more | perl my_script.pl

This finishes in seconds, even though the command spew_10MB_or_more
creates very large text files that often exceed 10 MB.  When I do the
same thing on a DOS shell under Windows XP, it takes minutes!

Note if I split the command up ...

   spew_10MB_or_more > temp.txt
   perl my_script.pl temp.txt

That runs in seconds on both Unix and DOS.

Why does the pipe method take *so* much longer on DOS?  Is there any way
to make it run faster that doesn't involve explicit temporary files?

In case it matters, spew_10MB_or_more is a program I cannot change.

Thanks!

-George

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to