Пакет perl-Hash-MultiKey: Информация
Исходный пакет: perl-Hash-MultiKey
Версия: 0.06-alt2.1
Собран: 24 ноября 2010 г. 9:05
Категория: Разработка/Perl
Сообщить об ошибке в пакетеДомашняя страница: http://www.cpan.org
Лицензия: Artistic
О пакете: hashes whose keys can be multiple
Описание:
Hash::MultiKey provides hashes that accept arrayrefs of strings as keys.
Two multi-keys are regarded as being equal if their *contents* are
equal, there is no need to use the same reference to refer to the same
hash entry:
$hmk{['foo', 'bar', 'baz']} = 1;
exists $hmk{['foo', 'bar', 'baz']}; # different arrayref, but true
A given hash can have multi-keys of different lengths:
$hmk{['foo']} = 1; # length 1
$hmk{['foo', 'bar', 'baz']} = 3; # length 3, no problem
In addition, multi-keys cannot be empty:
$hmk{[]} = 1; # ERROR
The next sections document how hash-related operations work in a
multi-key hash. Some parts have been copied from standard documentation,
since everything has standard semantics.Сопровождающий: Igor Vlasenko
Последнее изменение
22 ноября 2010 г. Igor Vlasenko 0.06-alt2.1
- repair after perl 5.12 upgrade using girar-nmu
3 сентября 2008 г. Igor Vlasenko 0.06-alt2
- removed perl dir ownership
24 августа 2007 г. Igor Vlasenko 0.06-alt1
- first build for ALT Linux Sisyphus