S
Simon
Hi guys!
Id like to learn about creating a menu in a perl script.
What Id like to do is the following.
============================================
Print "Press 1 for this subroutine";
Print "Press 2 for this subroutine";
Print "Press 3 for this subroutine";
Print "Press 4 for this subroutine";
Print "Press 5 for this subroutine";
Print "Press 6 for this subroutine";
Then the stdin is captured and goes to the right subroutine to execute.
Any help appreciated.
Id like to learn about creating a menu in a perl script.
What Id like to do is the following.
============================================
Print "Press 1 for this subroutine";
Print "Press 2 for this subroutine";
Print "Press 3 for this subroutine";
Print "Press 4 for this subroutine";
Print "Press 5 for this subroutine";
Print "Press 6 for this subroutine";
Then the stdin is captured and goes to the right subroutine to execute.
Any help appreciated.