snailwinks has asked for the wisdom of the Perl Monks concerning the following question:
Hi, is there a way to design a GUI frontend that calls a "scalable" number of standalone perl scripts?
I have about 10 scripts presently, which process various engineering text files in various ways. Each file :
I would like to write a pTk graphical frontend to these scripts and combine everything into an .exe for my colleagues (they're not keen on cmd line stuff).
The general idea is :
[code to design the GUI] [drop-down listbox to select script to run] [display frame x if script x was selected] [accept extraction options if any] ... MainLoop ; [sub to call program 1] # different scripts are [sub to call program 2] # run depending which ... # buttons the user clicked [sub to call program N] # N < 100
I should be able to :
Modular programming doesn't seem to fit the bill exactly, since it would mean rewriting the scripts into modules and everything into subs, but I'm willing to try anything. I would appreciate any advice very much.
ps. I have been programming for less than a year (not much knowledge on modules and OOP), so pls bear with me :)
update : thanks everyone for your replies, they were very helpful.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Program design with GUI interface
by GrandFather (Saint) on May 10, 2006 at 04:20 UTC | |
by snailwinks (Acolyte) on May 10, 2006 at 05:18 UTC | |
|
Re: Program design with GUI interface
by vkon (Curate) on May 10, 2006 at 05:46 UTC | |
by ww (Archbishop) on May 10, 2006 at 13:45 UTC | |
by vkon (Curate) on May 10, 2006 at 21:02 UTC | |
by ww (Archbishop) on May 11, 2006 at 13:29 UTC | |
|
Re: Program design with GUI interface
by johngg (Canon) on May 10, 2006 at 08:31 UTC | |
|
Re: Program design with GUI interface
by zentara (Cardinal) on May 10, 2006 at 15:57 UTC |