Ok, I got it! Can't locate Encode.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at Perl/Tidy.pm line79. It seems that my Perl installation is missing the Encode module. I've tried another Perl version (just an old test installation 5.14.x) in which the module exists and et voila it works! Now I need to convince my IT admins to release a newer version with the module, but this is not your problem. Please close this ticket. Many Thanks for your help Andreas
Ok, I got it! Can't locate Encode.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at Perl/Tidy.pm line79. It seems that my Perl installation is missing the Encode module. I've tried another Perl version (just an old test installation 5.14.x) in which the module exists and et voila it works! Now I need to convince my IT admins to release a newer version with the module, but this is not your problem. Many Thanks for your help Andreas
Hmm, ... It looks like perltidy can not find the Tidy.pm module in the Perl subfolder. "C:\Perl\bin\Perl.exe" "C:\Projects\Perl\.metadata\.plugins\org.epic.perleditor\perlutils\perltidy\perltidy" "-q" "--indent-columns=4" "--maximum-line-length=200" "--opening-brace-on-new-line" "--line-up-parentheses" "C:\Projects\Perl\PTests\ptest_FnkCall.pl" Can't locate Perl/Tidy.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:\Projects\Perl\.metadata\.plugins\org.epic.perleditor\perlutils\perltidy\perltidy...
I also tried to get around this by setting the .perltidyrc into my project root folder but this neither helped.
Thank you for your quick answer. Try specifying an aboslute path to Perl executable in Window > Preferences > Perl. Check workspace/.metadata/.log if it contains more details about why the exectuion failed. Sadly after setting an absolute path the error stays the same. Here is excerpt for my log file: !ENTRY org.epic.perleditor 4 0 2018-11-14 15:03:00.126 !MESSAGE Failed to execute command line: "C:\Perl\bin\Perl.exe" "perltidy" "-q" "--indent-columns=4" "--maximum-line-length=200" "--opening-brace-on-new-line"...
Formatter error since EPIC 0.7