Hi,
This is not really a Perl problem, so apologies for that.
I'm using Log::Log4perl and my script and its corresponding init-file are in a dusty directory under version control. I want to put a link the script under, say /usr/local/bin. The initialisation is done with
Log::Log4perl->init("log.conf");How do I make sure that when the script is called via the soft link, the init-file is found? Ideally a local file would be used, otherwise the one in the version control.
Thanks for your help,
In reply to log4perl: finding initialisation file by loris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |