Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: how to make a good interface?

by toma (Vicar)
on Mar 17, 2008 at 06:29 UTC ( #674523=note: print w/replies, xml ) Need Help??

in reply to how to make a good interface?

When I do this sort of thing I turn my program into a CGI and the UI becomes a web page. Then the user can use the 'back' button to change the parameters. If there is no web server handy you can use one of the perl modules that supplies one (such as HTTP::Daemon).

I like a good terminal interface, but most of the users that I deal with prefer the web approach. Handling program state properly can be tricky (you can use something like CGI::Application to help with this), but if all you need is some parameters for your program, it should be easy.

It should work perfectly the first time! - toma

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://674523]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2016-10-23 12:10 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.