简体   繁体   English

是否可以使用Padre运行和调试具有不同Perl版本的Perl脚本?

[英]Is it possible with Padre to run and debug Perl scripts with a different Perl version?

Padre is a (open) IDE for Perl that does look promising. PadrePerl的(开放式)IDE,看起来很有前途。

Since Padre is written in Perl itself, it is not apparent whether it's easily possible and practicable to run and debug Perl scripts in this IDE that are running on a different Perl version than the IDE itself. 由于Padre是用Perl本身编写的,因此在这个IDE中运行和调试Perl脚本是否很容易和可行 ,这些脚本运行在与IDE本身不同的Perl版本上。

As an example, say I download the current installer (for Windows) which will install and run Padre on Strawberry Perl 5.12 -- can I then use this IDE to run+debug my scripts that are running on ActiveState Perl 5.8.9 ? 例如,假设我下载当前安装程序 (适用于Windows),它将在Strawberry Perl 5.12上安装并运行Padre - 我可以使用此IDE运行+调试在ActiveState Perl 5.8.9上运行的脚本吗? (Yes, and I want them to run exactly on AS+5.8.9 because this is where they'll run in production.) (是的,我希望它们完全在AS + 5.8.9上运行,因为这是它们将在生产中运行的地方。)

I am aware that there is a Padre package for AS+5.8.9 but I would much rather install the default IDE package and have the IDE run on the Perl it normally runs on and have my scripts run on the Perl they normally run on. 我知道有一个适用于AS + 5.8.9的Padre软件包,但我更愿意安装默认的IDE软件包并让IDE运行在它正常运行的Perl上并让我的脚本在它们正常运行的Perl上运行。

Insights? 见解?

在工具 - >首选项 - >语言 - Perl 5下,您可以指定perl二进制文件及其参数来运行项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM