I have a perl application that I run from command line passing a variety of arguments (they are handled by Getopt::Long). Because the number of options have increased I would like to change it a bit but I do not know what would be the best. I was thinking of running the program and having a kind of terminal where the user could type various commands (something like the R or gnuplot)
I thought that I could just print a prompt and wait for input from STDIN, but I was wondering if there is any way to incorporate more user-friendly functions (charater completion, history etc).
Thank you very much