#!/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 "

$i"; while (my $datei = readdir(DIR)) { print "
$datei"; } print "


"; } print $cgi->end_html();