如何使eclipse perl项目使用特定的perl版本? [英] How can I make eclipse perl project use a specific perl version?

查看:137
本文介绍了如何使eclipse perl项目使用特定的perl版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在 Linux 服务器中安装了远程源代码回收。

我使用Eclipse Epic 我已经通过这个 post

我的问题如下:

远程存储库中的项目使用特定的版本的$ 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.


  1. 转到窗口 - > 首选项 - > Perl EPIC

  1. 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版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆