in reply to Moving around directories
Well I would move them into the place, and tweak your code to fit the new path structure. There really isn't some secret magic way to do this.
The most correct solution however would be to make all the 'requires' into real modules that can be installed like CPAN modules with perl Makefile.PL. Then you can move main.pl anywhere you like and it doesn't matter.
-----------------------------------
|
|---|