in reply to setting up a perl module to replace Apache's autoindex

Like you've been informed already, you'll need mod_perl to run Apache::AutoIndex.

I did something like this using a simple CGI script, which employs caching via File::Cache.

You can see it at http://crazyinsomniac.perlmonk.org/perl/index/

All you need to do is add DirectoryIndes ... whatever you got ... /cgi-bin/scripto.pl, and have that script do pretty much what mine does (get a list of files and dirs in the current directory).

____________________________________________________
** The Third rule of perl club is a statement of fact: pod is sexy.