Group :: Desenvolvimento/Perl
RPM: perl-Hash-MultiKey
Principal Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
A versão atual: 0.06-alt2.1
Data da compilação: 22 novembro 2010, 18:32 ( 700.5 weeks ago )
Tamanho:: 10.89 Kb
Home page: http://www.cpan.org
Licença: Artistic
Sumário: hashes whose keys can be multiple
Descrição:
Lista dos contribuidores Lista dos rpms provida por esta srpm:
ACL:
Data da compilação: 22 novembro 2010, 18:32 ( 700.5 weeks ago )
Tamanho:: 10.89 Kb
Home page: http://www.cpan.org
Licença: Artistic
Sumário: hashes whose keys can be multiple
Descrição:
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.
Mantenedor currente: Igor Vlasenko 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.
Lista dos contribuidores Lista dos rpms provida por esta srpm:
- perl-Hash-MultiKey