#!/usr/bin/perl use Cwd; $dir = cwd(); print "Content-Type: text/plain\n\n"; print "$_\n" for glob("$dir/*");