There's more than one way to do things | |
PerlMonks |
Re: Re: piping commands to perl via standard input on the Win32 command lineby frag (Hermit) |
on Jan 11, 2002 at 21:40 UTC ( [id://138064]=note: print w/replies, xml ) | Need Help?? |
Actually, cmd /c echo "print qq(Hello.\n)" | perl doesn't work, either. (Although I didn't know about the /c switch before, so thanks for pointing that out.) As tye says, it's a fundamental problem with echo.
-- Frag.
In Section
Seekers of Perl Wisdom
|
|