I am a new Perl coder. I just started working at a company that designs, builds, and sells servers. I am developing a GUI for Perl legacy code that runs tests on the servers (via Linux command line) in our production facilities in Asia. I started from scratch using Perl/Tk and I am having an issue.
In the GUI I input user data, then hit a button, and that executes a subroutine that uses CLI to start the test script. I use Scrolled to make a text window which displays the stdout of the test script as it runs. At one point the test stops and asks for user input in the text screen. I use a conditional to execute a DialogBox at this point.
How do I pass the value collected in the DialogBox to the other script?
Been struggling for awhile with this, please give me guidance informed travelers...
PS~ I have no choice about using a GUI; this was a command directive to appeal to the lowest common denominator.