in reply to Re^5: Redirecting Output to shell command from within perl
in thread Redirecting Output to shell command from within perl

This only uses native commands:

open STDOUT, '| more | more';; print "hello world! $_" for 1.. 1000; exit;;

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
In the absence of evidence, opinion is indistinguishable from prejudice. Suck that fhit

Replies are listed 'Best First'.
Re^7: Redirecting Output to shell command from within perl
by LanX (Saint) on Feb 19, 2018 at 10:22 UTC
    Doesn't work for me.

    What's happening is that I need to always type RET before being able to send a command to "more".

    Looks like the "readline" of %CMD% is also active and interfering.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Wikisyntax for the Monastery