|
NAMEHash::Case::Preserve - hash with enforced lower cased keys INHERITANCEHash::Case::Preserve is a Hash::Case is a Tie::StdHash SYNOPSIS 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
DESCRIPTIONHash::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. METHODSExtends "METHODS" in Hash::Case. ConstructorsExtends "Constructors" in Hash::Case.
Hidden object accessExtends "Hidden object access" in Hash::Case.
SEE ALSOThis module is part of Hash-Case version 1.07, built on January 26, 2026. Website: http://perl.overmeer.net/CPAN/ LICENSEFor contributors see file ChangeLog. This software is copyright (c) 2002-2026 by Mark Overmeer. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|