##FAX番号チェック if ($FORM{'FAX'} eq ""){ $err_msg .= "Fax番号" } #if ($FORM{'FAX'} && $FAX !~ /^(\d+)-(\d+)-(\d+)$/){ $err_msg .= "Fax番号" } 1;