in reply to How to use perl to capture its output while inputting data to an external command
See the relevant FAQs:
🦛