Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^5: Redirecting Output to shell command from within perlby LanX (Saint) |
on Feb 18, 2018 at 18:08 UTC ( [id://1209451]=note: print w/replies, xml ) | Need Help?? |
my version of Windows doesn't have tee installed
Please note that the effect is best seen with small amounts of lines, hence 100. > but then I wouldn't do it, Neither would I, but I'm not the OP! :)
Cheers Rolf
UPDATEUsing (and closing) a dedicated PIPE instead of STDOUT solves the issue for me on Win. see Re: Redirecting Output to shell command from within perl (Update "close PIPE")
In Section
Seekers of Perl Wisdom
|
|