App-dirserve is a project mainly written in Perl, it's free.
Command line utility to provide simple directory listing over HTTP
curl -L cpanmin.us | perl - http://latest.mojolicio.us
curl -O https://github.com/tempire/app-dirserve/raw/master/dirserve
chmod +x dirserve
usage: dirserve [OPTIONS]
These options are available:
--directory Directory to serve. Defaults to current directory.
--index-page Page to show by default. Defaults to directory listing.
--port Port to serve on. Defaults to 3000.
--no-dots No navigating to parent directories via '..'.
--help This message.