Sprad has asked for the wisdom of the Perl Monks concerning the following question:
I have a script that reads data from a configuration file. I'd like to remove all hard-coding from the script and put anything that might need to be changed into the config file. Unfortunately, the one bit of data I can't figure out how to move is... the path to the config file. It won't necessarily be in the same directory as the script. And I'd rather not require that as a parameter to the script. Is there a way around this one?
---
A fair fight is a sign of poor planning.
Back to
Seekers of Perl Wisdom