2 번째 수정본
(2 번째 수정본부터 2 번째 수정본까지의 변경사항)
(소소한 수정)
(두 수정본의 내용이 동일하거나, 수정본을 비교할 수 없음.)
titleindex action 추가
- 모든 페이지 목록을 단순한 텍스트로 출력함
- 사용법 - 주소창에서, http...wiki.pl?action=titleindex
-
sub DoOtherRequest {
...
} elsif ($action eq "index") {
&DoIndex();
} elsif ($action eq "titleindex") {
&DoTitleIndex();
} elsif ($action eq "help") {
&DoHelp();
...
}
-
sub DoTitleIndex {
my (@list);
my $index;
print "Content-type: text/plain\n\n";
@list = &AllPagesList();
foreach $index (@list) {
print $index."\r\n";
}
}
위키위키분류