astronogun has asked for the wisdom of the Perl Monks concerning the following question:
Hello!
I would like to ask on how to make my subroutines or how can my subroutines can be used for menu selection type of script?
What I want to achieve is:
I have two sub routines, if I choose the 1st sub routine it will process it and after processing will go back to the menu selection again (same with the 2nd sub routine if chosen it will go back to the main menu)if i choose the 3rd selection then the program will stop or exit.
hope you can help me still I'm still learning how sub routines work. :) thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to make a menu using my subroutines?
by NetWallah (Canon) on Apr 03, 2012 at 04:36 UTC | |
by astronogun (Sexton) on Apr 03, 2012 at 06:02 UTC | |
by tobyink (Canon) on Apr 03, 2012 at 07:15 UTC | |
by astronogun (Sexton) on Apr 03, 2012 at 07:32 UTC |