如何将 Perl 中的窗口图标设置为 Windows 7 上的某个 .ico 文件?
我在 Perl 5.8.3 32 位中使用 TK::Icon ,但不支持Perl 5.10.1 64 位。当我尝试通过 ppm 安装它时,我得到:
C:>ppm 安装 http://www.bribes.org/ perl/ppm/Tk-Icon.ppd
ppm 安装失败:PPD 不提供为此安装的代码 平台
还有其他办法吗?
I was using TK::Icon with Perl 5.8.3 32bit, but it's not supported with Perl 5.10.1 64bit. When I try to install it through ppm, I get:
C:>ppm install http://www.bribes.org/perl/ppm/Tk-Icon.ppd
ppm install failed: The PPD does not provide code to install for this
platform
Is there any other way to do it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如 Alexandr 所建议的,我要求 bribes.org 的 JL 为 Perl64bit 构建模块,他照做了。
所以现在在 Perl 64 位上也可以使用 TK::Icon 设置图标。
ppm 安装命令是:
As Alexandr suggested, I asked J-L from bribes.org to build the module for Perl64bit and he did so.
So now the icon can be set with TK::Icon also on Perl 64bit.
The ppm install command is: