如何将 Strawberry Perl 配置为从 c:\strawberry 以外的其他位置运行?
我知道 Strawberry Perl 可移植版适用于 Perl 5.10.0,但到目前为止,还没有适用于 Perl 5.10.1 的版本。因此,我目前正在做一些实验工作,让 Strawberry Perl 从网络位置运行,只是为了看看我能做什么。我已经能够伪造其中的一些内容,足以让一些 Perl 和一些工具运行,但我无法弄清楚如何将vendor\lib 文件夹从 c:\strawberry.< /code> 我很确定我的伪造努力将毫无意义,除非我更多地了解这些路径是如何设置的。
进一步阅读:
更改 Perl 配置设置 (PerlMonks)
I know that Strawberry Perl portable is out there for Perl 5.10.0, but so far, there is not one for Perl 5.10.1. As a result, I'm currently doing some experimental work in getting Strawberry Perl to run from a networked location, just to see what I can get working. I've been able to fake some of it, enough to get some Perl and some tools running, but I've not been able to figure out how to move the vendor\lib folder away from c:\strawberry.
I'm pretty sure my faking efforts will be for naught unless I know more about how these paths are set up.
Further reading:
Changing Perl Config Settings (PerlMonks)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
注意:我真的不知道。
无论如何,这里有一些猜测:
查看 Perl::Dist::Strawberry:
所以,我想这将是从源代码构建整个发行版并安装在特定位置的方法。
可执行文件和 dll 中都没有字符串
strawberry
,所以我的猜测是破解Config.pm
和Config_heavy.pl
会可能会把事情做好。Note: I have no idea, really.
Here is some speculation anyway:
Looking at Perl::Dist::Strawberry:
So, I imagine that would be the way to build whole distributions from source to be installed in a specific location.
Neither the executables, nor the dlls have the string
strawberry
in them, so my guess is hacking away atConfig.pm
andConfig_heavy.pl
would probably get things done.