|The stupid question is the question not asked|
pipe to script requires '| perl' on win32by QM (Vicar)
|on Apr 03, 2004 at 00:05 UTC||Need Help??|
QM has asked for the
wisdom of the Perl Monks concerning the following question:
On win32, I have a problem with reading from a pipe on STDIN only (files on the command line work as expected). I have to call the script with perl script.pl, as below.
Update: I found this and perldoc pl2bat.
Here's the script:
With this command
I get no output, but with this
Is this expected behavior? [Oddly enough, using pl2bat DWIM, but I was hoping to avoid that.]
assoc and ftype give...