in reply to Perl script runs fine if exec'd from the directory, but gives error if run outside the directory.
How about you strip this down to the smallest piece of code that shows the problem? You may find I know what I mean. Why don't you? helps. You may find it helps to add print statements through your code so you at least know how far it's getting before it falls over.
As it stands there is far too much unknown context for us to easily help.
|
|---|