http://search.cpan.org/~stbey/Date-Calc-5.4/Calc.pod
use Date::Calc qw(Days_in_Month);
$days = Days_in_Month('2006','4');
print $days,"\n";
答案是30天
use Date::Calc qw(Days_in_Month);
$days = Days_in_Month('2006','4');
print $days,"\n";
答案是30天
全站熱搜
留言列表