I'd like to do something in bash like:
coproc myPerlDebuggerServer { perl -d -e 42; }
then talk to that co-process via shell functions to get my own interactive interface to the debugger.
Of course this doesn't work as is because perl -d -e 42
uses decorations/readlin/terminal/etc.
I found Devel::REPL but it had a build failure with cpanm, and anyway I'd like to keep the familiar commands from perl -d. I just need it to print a distinctive-enough prompt so when I know it's done responding :)
Suggestions?