I have a C++ program that encodes a username and password into the registry. I am trying to built a perl/TK GUI as a front end to it. The C++ password program use getch(), which takes the characters off the keyboard without echoing it. I wanted to know if there is some kind of Perl way to send the password that I collect from my TK GUI to the pasword program, which needs some kind of keyboard input. Is there a perl way to redirect stdin to look like it came from the keyborad.
Any help would be greatly appreciated. Thanks.