No such thing as a small change | |
PerlMonks |
Re: trying to populate curses menus from text files (text format)by Anonymous Monk |
on Nov 01, 2013 at 02:45 UTC ( [id://1060691]=note: print w/replies, xml ) | Need Help?? |
... should be read from text file ... What text file where? :) How do I post a question effectively?
Then
I need to read each -label from a line of the text file and pass the name of the menu (== the filename) and the label to the subroutine called when the item is selected. Your callback will get the menuitem object as argument, you can (usually) query/interrogate/examine this to retrieve the label
In Section
Seekers of Perl Wisdom
|
|