in reply to Dynamic Directory Index help

you are missing a bunch of variable names. Every time you see my there should be a variable name following. For example:
my ="/usr/local/apache/htdocs/projects/"; my ="";
should look like this line does
my @dirs=readdir PRJD;
add the following to the top of your script and you will get more helpful error messages
#!/usr/bin/perl use warnings use strict
check out this book (Learning Perl) by our own merlyn for a good place to start with perl.