Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libtask-weaken-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libtask-weaken-perl  ]

套件: libtask-weaken-perl (1.05-1)

module for ensuring that a platform has weaken support

One recurring problem in modules that use Scalar::Util's weaken function is that it is not present in the pure-perl variant.

While this isn't necessarily always a problem in a straight CPAN-based Perl environment, some operating system distributions only include the pure-Perl versions, don't include the XS version, and so weaken is then "missing" from the platform, despite passing a dependency on Scalar::Util successfully.

The normal solution is to manually write tests in each distribution to ensure that weaken is available.

Task::Weaken restores the functionality testing to a dependency you do once in your Makefile.PL, rather than something you have to write extra tests for each time you write a module.

其他與 libtask-weaken-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libtask-weaken-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 8.4 kB24 kB [文件列表]