What part of this are you missing in the HTTP::Daemon documentation?
$c->send_file_response($filename)
Send back a response with the specified $filename as
content. If the file is a directory we try to gener-
ate an HTML index of it.
And ziggy put a nice example of that as well!
-- Randal L. Schwartz, Perl hacker |