问题描述
我已经在 Linux
服务器中安装了远程源代码回收。
我使用Eclipse Epic
我已经通过这个。
我的问题如下:
远程存储库中的项目使用特定的版本的$ code> Perl 这是一个特定的目录。
我将如何配置我的项目在 Eclipse
要使用完全相同的 Perl
?
I have mounts of a remote source code repos in Linux
servers.
I use Eclipse Epic
and I have made links to the scripts there with the help of the answer of this post.
My problem is the following:
The project in the remote repository uses a specific version of Perl
which is under a specific directory.
How would I configure my project in Eclipse
to have/use exactly the same Perl
?
推荐答案
在远程机器上使用解释器进行测试,我在Windows上,但我认为这将工作。
I haven't tested this with an interpreter on a remote machine and I'm on Windows but I think this would work.
-
转到
窗口
- >首选项
- >Perl EPIC
Go to
Window
->Preferences
->Perl EPIC
单击 ...
旁边 Perl可执行文件
选择您想要的位置(这将在您的远程存储库下)
Click ...
next to Perl executable
and choose the location you want (this would be under your remote repository)
点击应用
/ OK
要检查是否有效,只需执行以下操作: p>
To check if it works, just do this:
use strict;
use warnings;
print "Version: $]\n";
print "Interpreter: $^X\n";
这篇关于如何使eclipse perl项目使用特定的perl版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!