Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

用最新版本的Perl编译上下文相关的帮助文件失败

From Wiki
Jump to: navigation, search
Article Metadata

代码示例
兼容于
平台: S60 3rd Edition

文章
翻译:
hoolee
最后由 hamishwillee 在 15 Jun 2012 编辑
  • 详细描述

如果你使用最新版的ActivePerl,你可能在编译Symbian OS应用程序时出现如下问题。

下面有两个解决方案:

  1. 换回老版本ActivePerl(官方支持版本为v5.6.1 build 635)
  2. 改变param.pm和args.pm 文件

可以在你SDK安装的Epoc32\tools\perllib路径下找到这两个文件,在args.pm里,将688行:

$self->_iSpecArray->{$aName}= New CArgsSpec($aName, $aDefault, $aPattern, 
$aExclusions, $aMandatory, $aRepeatable);

改成

$self->_iSpecArray->{$aName}= CArgsSpec->New($aName, $aDefault, $aPattern,
$aExclusions, $aMandatory, $aRepeatable);

在params.pm文件中搜索关键词New,替换为foo->New(),例如函数New CLogs(),改变为CLog->New()

注意备份源文件,或者你可以直接下载File:Perlchanged.zip

This page was last modified on 15 June 2012, at 02:12.
47 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×