所以我有一个充满了菜单选项的数组: var entreescontent=new Array();
entreescontent[0]="Taco Plate";
entreescontent[1]=4.50;
entreescontent[2]="Three tacos of your choice of beef,chicken,pork,or veggie. Served with a
我有产生两个线程的代码。第一个是启动应用程序的系统命令。第二个监视程序。我是新来的perl的主题,所以我有几个问题... my $thr1 = threads->new(system($cmd));
sleep(FIVEMINUTES);
my $thr2 = threads->new(\&check);
my $rth1 = $thr1->join();
my $rth2 = $thr