in reply to Re^3: Code Works But Not Sure How
in thread Code Works But Not Sure How

You're right poj. In the code I use to create the menubox include the index as the menu items are a flattened array. I'm using a Linux Gazette bash script example and converting it over to perl. Basically its my own version of UI::Dialog.