Subject: | fails to see /usr/local/bin when running under a subshell |
When running pdf2ocr from PDF::OCR in a subshell File::Which could not
locate tesseract which I had installed in /usr/local/bin. After some
sleuthing, I discovered that at line 74 it fails to load it into @path,
so I added this line after line 74:
unshift @path, '/usr/local/bin' if -d '/usr/local/bin';
This, I freely admit, is a huge kludge. Maybe File::Spec has a problem
instead? I'll report this there too.
SSF