Hash::Case::Preserve(3pm) | User Contributed Perl Documentation | Hash::Case::Preserve(3pm) |
Hash::Case::Preserve - hash with enforced lower cased keys
Hash::Case::Preserve is a Hash::Case is a Tie::StdHash
use Hash::Case::Preserve; tie my(%cphash), 'Hash::Case::Preserve'; $cphash{StraNGeKeY} = 3; print keys %cphash; # StraNGeKeY print $cphash{strangekey}; # 3 print $cphash{STRANGEKEY}; # 3
Hash::Case::Preserve extends Hash::Case, which lets you play various trics with hash keys. This extension implements a fake hash which is case-insentive. The keys are administered in the casing as they were used: case-insensitive but case-preserving.
Extends "DESCRIPTION" in Hash::Case.
Extends "METHODS" in Hash::Case.
Extends "Constructors" in Hash::Case.
OPTIONS is a list of key/value pairs, which specify how the hash must handle preservation. Current options:
-Option--Default keep 'LAST'
This module is part of Hash-Case distribution version 1.05, built on February 06, 2020. Website: http://perl.overmeer.net/CPAN/
Copyrights 2002-2020 by [Mark Overmeer <markov@cpan.org>]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/
2022-10-13 | perl v5.36.0 |