in reply to Program design with GUI interface
The first step is to realise that you can use system to execute your existing scripts without changing them at all:
#file sample.pl system "noname1.pl first argument";
#file HelloWorld.pl my $arg = shift; print 'Hello World.'; print " param is $arg" if defined $arg;
Prints:
Hello World. param is first
After that using any of various methods to get the list of scripts to run and using that list to populate a list control is fairly straight forward.
I've not time to do it now, but if you don't get enough answer to do the GUI bit I'll provide a sample in a few hours.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Program design with GUI interface
by snailwinks (Acolyte) on May 10, 2006 at 05:18 UTC |