in reply to How do you organize your Perl applications?
Here's roughly how we would do it at my work (assumes that this is under some site specific directory):
+---data/ | myprogram.ini | +---lib/ | MyModule.pm | +---t/ | mytest.pl | +---templates/ | mytemplate.html | +--www/ | +---cgi-bin/
The main consideration is to ensure that nothing goes under the www/ folder unless you really need direct Web access to it. Otherwise, one slip in your configuration could give away information that you may not want others to see.