You have the option to use a single "GetInput" subroutine, or pass references to different subs to different methods.
Your implementation of "GetInput" can use as many parameters as you like - you can make some, or all optional - that way you could use a single subroutine for all methods.
In the example I showed, you certainly CAN pass different prompts back to GetInput.
I had already given you sample code for GetInput - you can use the contents of the first Anonymous sub.
I would suggest you try implementing the suggestion I provided, and post back specific problems you run into - we monks are happy to help you understand and troubleshoot specific issues, but are reluctant to solve the entire problem for you. This helps you become self-sufficient, while reducing our liability for misunderstanding your issues.
Have you been high today? I see the nuns are gay! My brother yelled to me...I love you inside Ed - Benny Lava, by Buffalax
|