No such thing as a small change | |
PerlMonks |
Referring to a module above the CWDby Spidy (Chaplain) |
on Jun 16, 2007 at 20:20 UTC ( [id://621617]=perlquestion: print w/replies, xml ) | Need Help?? |
Spidy has asked for the wisdom of the Perl Monks concerning the following question:
Greetings, fellow monks. I am currently working on a web application that involves at least 50% of the component scripts accessing a database. This means that a lot of scripts need to have the information required to connect to said database, and in that spirit I have created a module(config.pm) which they use. However, I am having a problem. The configuration module is within the root directory for the project. I have a few scripts that are inside directories below the root directory, and would like to keep using the one configuration module. Does anyone know how I could use a module located at ../config.pm in relation to the script that needs to access it? Thanks,Spidy
Back to
Seekers of Perl Wisdom
|
|