oper5000 has asked for the wisdom of the Perl Monks concerning the following question:

I have make a menu for a true64 Unix system like this :

1.Insert
2.Change
3.Delete
4.Exit

Enter a choice :

But i want to make it work with a colored bar and make my selection by using the up and down arrow to choose and with enter to execute. I have find many scripts to do this but all of them using Tk,Curses or other similar is there a way to do it without this;
Thank you.
edited by boo_radley : title change

  • Comment on Creating a menu for a console-based script (was : Menu)

Replies are listed 'Best First'.
Re: Creating a menu for a console-based script (was : Menu)
by pfaut (Priest) on Jan 10, 2003 at 13:17 UTC

    Well, you could certainly write your own code to do everything those packages do but it seems to me it would be easier to learn how to use the existing packages. Why don't you want to use those modules?

    --- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';
      Do i speak chinese my friend.If you can help me to write the code okay,otherwise don't ask me for those packages.