Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libtie-refhash-weak-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libtie-refhash-weak-perl  ]

套件: libtie-refhash-weak-perl (0.09-1)

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.

This subclass of Tie::RefHash 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 (>= 5.10.0)
    Larry Wall's Practical Extraction and Report Language

下載 libtie-refhash-weak-perl

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