Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> perl >> libtie-refhash-weak-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libtie-refhash-weak-perl  ]

软件包: libtie-refhash-weak-perl (0.09-2)

Tie::RefHash subclass with weakened references in the keys

Tie::RefHash can be used to access hashes by reference. This is useful when you index by object, for example.

The problem with Tie::RefHash, and cross indexing, is that sometimes the index should not contain strong references to the objecs. The internal structures of Tie::RefHash contain strong references to the key, and provide no convenient means to make those references weak.

Tie::RefHash::Weak has weak keys, instead of strong ones. The values are left unaltered, and you'll have to make sure there are no strong references there yourself.

其他与 libtie-refhash-weak-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libtask-weaken-perl
    module for ensuring that a platform has weaken support
  • dep: libvariable-magic-perl
    module to associate user-defined magic to variables from Perl
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下载 libtie-refhash-weak-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 7.5 kB23 kB [文件列表]