Are you talking about menus in a Perl/Tk application?
If so, it's easy to define menus based on, e.g. data read
from a file; it's even easy to change menu contents on the
fly depending on what the user choses to do.
But I have to second tadman's request: show us some code
that you have tried or would like to try. Without that,
the question is too vague to give detailed help.