#!/usr/bin/perl #Script that lists the contents of a directory out and puts them into hyperlinks #Digital Ebola use CGI; $query = new CGI; print $query->header; print $query->start_html(-title=>'Your title here', -BGCOLOR=>'#c5c5c5'); print "

Top Header Thingy

\n"; opendir (UNF, "/home/user/yourdirectory/") ; while ($name = readdir(UNF)) { print " $name
\n "; } closedir (UNF);