|Don't ask to ask, just ask|
STDIN method?by vivekvp (Acolyte)
|on Oct 17, 2002 at 20:30 UTC ( #206130=perlquestion: print w/replies, xml )||Need Help??|
vivekvp has asked for the wisdom of the Perl Monks concerning the following question:
I have a screen and I want to prompt the users for 1 of 3 choices.
Let's say I have a screen that says:
What would be a good method to code this?
Is there a perl CASE statement or am I doing a bunch of if-then statemetents?
Ultimately I am going to have many choices (10-20).
Any suggestions on how to tackle this efficiently?
He who laughs last, doesn't get the joke.
Back to Seekers of Perl Wisdom