The problem is that Win32's "echo" preserves the quotes and so is poorly suited for this task- tye
That's why you shouldn't echo quotes unless you mean for perl to see them as for example, this in CMD:
echo system("time /T") ; print "\nHello world!\n" | perl -w
In reply to Re: (tye)Re: piping commands to perl via standard input on the Win32 command line
by mkmcconn
in thread piping commands to perl via standard input on the Win32 command line
by frag
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |