Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> perl >> libstring-tagged-perl
nabia  ] [  aramo  ]
[ 原始碼: libstring-tagged-perl  ]

套件: libstring-tagged-perl (0.16-1)

string buffers with value tags on extents

String::Tagged implements an object class, instances of which store a (mutable) string buffer that supports tags. A tag is a name/value pair that applies to some non-empty extent of the underlying string.

The types of tag names ought to be strings, or at least values that are well-behaved as strings, as the names will often be used as the keys in hashes or applied to the eq operator.

The types of tag values are not restricted - any scalar will do. This could be a simple integer or string, ARRAY or HASH reference, or even a CODE reference containing an event handler of some kind.

Tags may be arbitrarily overlapped. Any given offset within the string has in effect, a set of uniquely named tags. Tags of different names are independent. For tags of the same name, only the latest, shortest tag takes effect.

其他與 libstring-tagged-perl 有關的套件

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

下載 libstring-tagged-perl

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