kn1h wrote on Tue Oct 28 14:57:07 CET 2008:
Hi, I'd like to request a minor fix so that the pref PERL_EXECUTABLE can make use of string variable substitution. This would help me in better abstracting exactly which perl to use, and which may have very varying paths to it on different machines, OS'es and circumstances. A quick look gives that PerlEditorPlugin.getPerlExecutable() should be the place; code from the top of my head... public String getPerlExecutable() { String s = getPreferenceStore().getString(PreferenceConstants.DEBUG_PERL_EXECUTABLE); return VariablesPlugin.getStringVariableManager().performStringSubstitution(s); } Would consider adding this? TIA, ken1
jploski wrote on Tue Oct 28 18:43:25 CET 2008:
The proposed location is not correct (getPerlExecutable must return the literal preference value). Anyway, I implemented it in 0.6.27.
kn1h wrote on Tue Oct 28 18:50:12 CET 2008:
Ok, I didn't do an exhaustive attempt to find exactly how it was used figuring you would immediately know the best how and where... Thumbs up, thanks! ken1
Note: The above is an archived snapshot of a forum thread. Use the original thread at sf.net to post comments.