Syntax Check should use perl interpreter given in Preferences
|Reported by:||danboo||Owned by:|
Our production environment specifies a non-threaded perl. In order to use Padre I have my own threaded perl that only has Padre (and prerequisites) installed from CPAN.
When editing documents with syntax highlighting enabled, I frequently come across 'use' errors due to missing CPAN modules. It appears that Padre::Perl::cperl() is finding my Padre-only perl interpreter.
However, if I run the offending script it appears to use the perl interpreter I specified in my preferences, and work as expected.
I think the syntax check using the same perl interpreter as the "Run" command, will avoid some confusing debugging situations.
If you want to give me some pointers to the right Padre modules, I'm happy to dig further and attempt a patch.