To use Perl/Tk or not to use Perl/Tk, that is the question...
Posted on 2004-04-18
We have a DOS based application that updates price changes on PLUs and copies these updates to each of our stores. We use 4 batch files as wrappers (separating the stores by division) then cycle through each of the store numbers and executes the application for each one, passing the store number to the app.
My plan, which I’m not sure if it’s a good one, is to use Perl/tk as a wrapper instead of the batch files and create a window with a grid of 4 widgets. Each of these widgets would run and display the price change program for each division. The dos app uses a static number of lines for its display but ‘updates several fields’ within the display.
I’ve never done any GUI programming, but I have started reading Mastering Perl/Tk (O’Reilly) so the questions are:
1) Is Perl/tk the proper/best approach?
2) If not, what is the proper/best approach?
3) So far, I haven’t seen any code examples that will display the dos app in a widget. Does anyone know if it can be done and how to code it?