QM has asked for the wisdom of the Perl Monks concerning the following question:
Update: I found this and perldoc pl2bat.
Here's the script:
With this commandprint while <>;
I get no output, but with thisecho "one two three" | myscript.pl
I getecho "one two three" | perl myscript.pl
Is this expected behavior? [Oddly enough, using pl2bat DWIM, but I was hoping to avoid that.]"one two three"
assoc and ftype give...
ftypec:\> assoc .pl .pl=Perl
c:\> ftype Perl Perl="C:\Perl\bin\perl.exe" "%1" %*
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: pipe to script requires '| perl' on win32
by tachyon (Chancellor) on Apr 03, 2004 at 00:28 UTC | |
|
Re: pipe to script requires '| perl' on win32
by inman (Curate) on Apr 03, 2004 at 17:29 UTC |