Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: consolidating menu option processing

by temporal (Pilgrim)
on Jul 19, 2013 at 13:32 UTC ( #1045357=note: print w/ replies, xml ) Need Help??


in reply to Re: consolidating menu option processing
in thread consolidating menu option processing

Well that's certainly a nifty approach, encapsulating the entire menu's functionality rather than just the unique options. Thanks for the example!

I should've guessed there would already be something on CPAN, ha. Most of those modules seem to be good for validating input, but not so much for consolidating all of the options execution (which is in addition retrieving basic string input) at a single point of code.

Since we both ended up implementing variations on them - it seems like dispatch tables are the way to go! =)

Strange things are afoot at the Circle-K.


Comment on Re^2: consolidating menu option processing

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1045357]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2014-09-17 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (67 votes), past polls