blob: 69aee409cc03e755a64d0a153c2eb7b5a683c488 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
#!/usr/local/bin/perl
#-*- perl -*-
#
# Copyright (C) 2001 Ken'ichi Fukamachi
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
# $Id$
# $FML$
#
use strict;
use Carp;
my $Module;
HEADER();
Show();
FOOTER();
exit 0;
sub Show
{
print "<CENTER>\n";
print "<TABLE>\n";
foreach my $pathname (<*>) {
next if $pathname =~ /^\__template/;
next if $pathname =~ /^\@/;
next if $pathname =~ /\~$/;
next if $pathname =~ /pod$/;
next if $pathname eq 'CVS';
next if $pathname =~ /^index/;
next if $pathname =~ /^00_/;
next if $pathname eq 'Makefile';
print "<TR>\n";
print "<TD> $pathname \n";
for my $fn ("README", "INSTALL", "MANIFEST") {
print "<TD>";
if (-f "$pathname/$fn") {
print "<A HREF=\"$pathname/$fn\">$fn</A>\n";
}
print "\n";
}
}
print "</TABLE>\n";
print "</CENTER>\n";
}
sub HEADER
{
print <<"_EOF";
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>
$Module classes
</TITLE>
<META http-equiv="Content-Type"
content="text/html; charset=EUC-JP">
</HEAD>
<BODY BGCOLOR="#E6E6FA">
_EOF
}
sub FOOTER
{
print <<'_EOF';
</BODY>
</HTML>
_EOF
}
|