in reply to Pasting text when capturing user input only prints one character if system call is made in the loop
I guess you're still trying to reinvent the Term::ReadLine wheel? ;-) In your previous thread you said "I am hopping around to different machines frequently ... especially say, a Mac that doesn't have dev tools installed, etc.". system calls to local tools isn't what I would call portable. I would recommend, like others have, using a module for this purpose. I might suggest that you could instead look at how to package modules with your scripts so that you don't need to install them everywhere - e.g. App::FatPacker or PAR-Packer.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pasting text when capturing user input only prints one character if system call is made in the loop
by Allasso (Monk) on May 07, 2019 at 16:07 UTC |