Ich such immer mal so ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/perl -w
use strict;
use warnings;
use CGI;
my $cgi = new CGI;
print $cgi->header();
print $cgi->start_html();
foreach my $i (@INC) {
opendir (DIR, "$i");
print "<p><b>$i</b>";
while (my $datei = readdir(DIR)) { print "<br>$datei"; }
print "</p><hr>";
}
print $cgi->end_html();