in reply to
Caputuring output while inputting to dc...
I think you might want to look at IPC::Open2 and IPC::Open3. They handle bidirectional piping. I can't offer you any experience with them, but I've read about them.
Compiling them myself
Merijn's HP-UX software
Whatever is shipped with my OS release
None, i use PerlScript
Results (134 votes),