■スレッドリストへ戻る■ 全部 1- 101- 201- 301- 401- 501- 601- 701- 801- 901- 最新50
read.cgi改良スレッド
- 345 :音楽侍 ◆NtVkSITE :01/08/29 22:02 ID:EqArAK56
- sub time2lastmod{
my($time) = shift;
my($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst)
= gmtime($time);
$wday = qw(Sun Mon Tue Wed Thu Fri Sat)[$wday];
$mon = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec)[$mon];
sprintf("%s, %02d %s %d %02d:%02d:%02d GMT",
$wday, $mday, $mon, $year+1900, $hour, $min, $sec);
}
ここでエラー出ます。
Can't use subscript on split at test.cgi line 77, near "$wday]"
Can't use subscript on split at test.cgi line 78, near "$mon]"
Execution of test.cgi aborted due to compilation errors.
333KB
新着レスの表示
スレッドリストへ戻る 全部 前100 次100 最新50
0ch BBS 2004-10-30