in reply to piping commands to perl via standard input on the Win32 command line
The problem is that Win32's "echo" preserves the quotes and so is poorly suited for this task:
vs.C:\>echo "print qq(Hello.\n)" "print qq(Hello.\n)"
so you get the equivalent of perl -e "\"print qq(Hello.\n)\"" instead of perl -e "print qq(Hello.\n)" So piping other things to perl works fine in Win32 (so find2perl shouldn't be a problem -- I used it quite recently). - tye (but my friends call me "Tye")$ echo "print qq(Hello.\n)" print qq(Hello.\n)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: (tye)Re: piping commands to perl via standard input on the Win32 command line
by mkmcconn (Chaplain) on Jan 09, 2002 at 23:49 UTC | |
by tye (Sage) on Jan 10, 2002 at 00:03 UTC |