use File::Slurp; @files = read_dir("/home/joemama/public_html/files"); # may be readdir see http://search.cpan.org for details foreach $f(@files) { print "<a href=\"http://www.domain.com/files/$f\"> $f </a> <P>\n"; }
> > > Does anyone know where I can get a script that looks into the > contents of a directory and outputs the contents of the > directory into a list that is displayed on an HTML page? > (Also, the names should contain hyperlinks to those contents.) > > Or, how would I do this? > > Thanks! > > Deborah > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]