1Hash::Case::Upper(3) User Contributed Perl Documentation Hash::Case::Upper(3)
2
3
4
6 Hash::Case::Upper - native hash with enforced lower cased keys
7
9 Hash::Case::Upper
10 is a Hash::Case
11 is a Tie::StdHash
12
14 use Hash::Case::Upper;
15 tie my(%uchash), 'Hash::Case::Upper';
16 $uchash{StraNGeKeY} = 3;
17 print keys %uchash; # STRANGEKEY
18
20 Hash::Case::Upper 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 upper-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::Upper', [VALUES,] OPTIONS)
42 Define HASH to have only upper cased keys. The hash is initialized
43 with the VALUES, specified as ref-array or ref-hash. Currently,
44 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 2023-01-20 Hash::Case::Upper(3)