Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Creating NCurses wrappers for existing scripts

by samwyse (Scribe)
on Mar 27, 2013 at 20:34 UTC ( #1025811=perlquestion: print w/ replies, xml ) Need Help??
samwyse has asked for the wisdom of the Perl Monks concerning the following question:

My customer has a bunch of Perl command line scripts. They all are used like this: "myscript -a arg -b -c arg,arg". Each script has a distinct set of flags which can take zero, one or many arguments; generally there are no other parameters. So that these can be used by people with less training, I have been asked to create curses-based wrappers for these scripts that will look like this:

myscript description option a: __________ option b: [ ] option c: __________ __________ __________ [OK] [Cancel]

Can anyone point me to something that will help me churn these out quickly, preferably using a simple config file for each script? Thanks!

Comment on Creating NCurses wrappers for existing scripts
Download Code
Replies are listed 'Best First'.
Re: Creating NCurses wrappers for existing scripts
by Khen1950fx (Canon) on Mar 28, 2013 at 01:12 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1025811]
Approved by ww
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2015-11-28 18:08 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (743 votes), past polls