in reply to Re^4: Perl script runs fine if exec'd from the directory, but gives error if run outside the directory.
in thread Perl script runs fine if exec'd from the directory, but gives error if run outside the directory.

No problem, let me know if you have any further questions about this. As Grandfather mentioned earlier, it's often much simpler to provide a short example which reproduces the problem, rather than post the entire script.

  • Comment on Re^5: Perl script runs fine if exec'd from the directory, but gives error if run outside the directory.

Replies are listed 'Best First'.
Re^6: Perl script runs fine if exec'd from the directory, but gives error if run outside the directory.
by GrandFather (Saint) on Oct 04, 2020 at 03:05 UTC

    In this case, as is often the case, the problem would have been found in the process of whittling down the code. That is often by far the best outcome in my view.

    Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond