I guess I have not explained myself clearly - or I just don't understand the answer - during development I like to be able to run the application from the development environment without any pre-processing. Without and "installation phase". So during development I'd like to get my application to look in the directories in the development environment.
If I need to "install" it to some directory controlled by local::lib that will be an extra step in my development process and, for example in case of a web development, that will mean I can't just change a template file, while the application is running and reload it, I now have to first "install" it. Even if only in a private directory. I think there are two issues I have to deal with for such setup: 1) recognizing I am in a development environment 2) accessing a path based on that recognition The former can be done either by looking at an environment variable or looking around in the file-system for some clue. In this project I use the latter and if I understand it correctly Yanick suggested the former with $ENV{DEV}. I am not sure then when will that environment variable be set? (In some other projects I have a "dev" script for it and that script sets this variable.) Though on a second look, Yanick, I don't even understand what does that code do? :) Gabor