troubleshooting Question


Avatar of Simon336697
Simon336697Flag for Australia asked on
PerlScripting Languages
5 Comments2 Solutions222 ViewsLast Modified:
Hi guys hope you can help.

I have a menu ( that you guys helped with.

What I want to do is when I select an option, to run that selection in a new command window, separate from the, so that I can make further selections, while the first one that I selected (now running in a new window) continues to run. If I need to abort the external script that is now running, to not kill the script.

Any help greatly appreciated.

Here is the code so far..

print <<EOF;
Press 1 for this subroutine
Press 2 for this subroutine
Press 3 for this subroutine
Press 4 for this subroutine
Press 5 for this subroutine
Press 6 for this subroutine


print "Enter menu choice: ";
my $choice = <STDIN>;
chomp $choice;

if ($choice == 1) {
elsif ($choice == 2) {
else {
   die "$choice is an invalid menu option\n";

sub sub1 {
  print "sub1\n";

sub sub2 {
  print ``;

Thanks guys.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros