1Hash::Case::Lower(3) User Contributed Perl Documentation Hash::Case::Lower(3)
2
3
4
6 Hash::Case::Lower - hash with enforced lower cased keys
7
9 Hash::Case::Lower
10 is a Hash::Case
11 is a Tie::StdHash
12
14 use Hash::Case::Lower;
15 tie my(%lchash), 'Hash::Case::Lower';
16 $lchash{StraNGeKeY} = 3;
17 print keys %lchash; # strangekey
18
20 Hash::Case::Lower extends Hash::Case, which lets you play various trics
21 with hash keys. In this implementation, the fake hash is case
22 insensitive and the keys stored in lower-case.
23
24 Extends "DESCRIPTION" in Hash::Case.
25
27 Extends "METHODS" in Hash::Case.
28
29 Constructors
30 Extends "Constructors" in Hash::Case.
31
32 $obj->addHashData(HASH)
33 Inherited, see "Constructors" in Hash::Case
34
35 $obj->addPairs(PAIRS)
36 Inherited, see "Constructors" in Hash::Case
37
38 $obj->setHash(HASH)
39 Inherited, see "Constructors" in Hash::Case
40
41 tie(HASH, 'Hash::Case::Lower', [VALUES,] OPTIONS)
42 Define HASH to have only lower cased keys. The hash is initialized
43 with the VALUES, specified as ref-array (with key value pairs) or
44 ref-hash. Currently, there are no OPTIONS defined.
45
47 This module is part of Hash-Case distribution version 1.05, built on
48 February 06, 2020. Website: http://perl.overmeer.net/CPAN/
49
51 Copyrights 2002-2020 by [Mark Overmeer <markov@cpan.org>]. For other
52 contributors see ChangeLog.
53
54 This program is free software; you can redistribute it and/or modify it
55 under the same terms as Perl itself. See http://dev.perl.org/licenses/
56
57
58
59perl v5.36.0 2022-07-22 Hash::Case::Lower(3)