[問題] 無法呼叫出副常式
小弟寫了一支主程式 如下:
use strict;
my $count = 1;
while($count < 3){
print "第 ".$count." 次執行\n";
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,) = localtime(time);
$mon = $mon + 1; #(m=0..11)
$year = $year+1900; #(year from 1900)
print ("perl ParseJobsID.pl ../JobsPages/".$year."_".$mon."_".$mday."/\n");
sleep 3; #調整時間
&Get104BankJobPages;
&ParseJobsID;
&GetEachJobPage;
&ParseJobsConditions;
&ParseJobsContent;
$count = $count+1;
}
呼叫以上的五支副常式可是不知道是哪裡錯了
小弟把原來的五支程式最外圍加了副常式的設定sub "name"{..... }
照理來說應該能正常執行是否是主程式有誤~請各位高手指導一下~謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 125.230.68.52
→
05/20 20:36, , 1F
05/20 20:36, 1F
Perl 近期熱門文章
PTT數位生活區 即時熱門文章