in reply to
Avoiding hard-coding
This is a known problem, and solved by a gazillion of applications. It usually goes, in precedence order:
Command line argument(s)
Environment variables.
Set of fixed locations to search (files and/or directories).
Abigail
Comment on
Re: Avoiding hard-coding
In Section
Seekers of Perl Wisdom