You wrote:
> why can't I redirect the output to a file? i.e.
> coolPerl.pl test.input > outfile.txt
Because win32 is broken. This is mentioned [sort of] in the
ActivePerl Win32 FAQ which comes with the install.
Some people have better luck doing it like this:
perl coolPerl.pl test.input > outfile.txt
Some people prefer to use pl2bat and/or pl2exe to stick their
perl in a wrapper so that win32 can treat it like a batch file or
executable.
I believe it was Larry Wall who said, 'The Perl motto for Windows
is, and everyone repeat after me, "There's more than one way to
do it, and it's a good thing, because most of them are broken."'
:-)
David
--
David Cassell, OAO [EMAIL PROTECTED]
Senior computing specialist
mathematical statistician
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]