Question: Need help solving this assignment: the script should be in Perl please. Write Perl script to develop a small console program driven by a text

Need help solving this assignment: the script should be in Perl please.

Write Perl script to develop a small console program driven by a text menu

It displays a simple menu with 4 items indicated by number 1-4.

Users will enter number 1 to 4 to run some commands.

Item #1 to #3 will run some shell commands (its your choice what to run). When the command is finished, display the menu again.

If 4 is entered, then quit the program.

Example:

Welcome to menu:

1. ls

2. ls -i

3. ls -a

4. Exit

Please enter a choice 1-4: 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!