Hash::...::Lower(3pm)
π¦ NAME π¦
okay so bestie, welcome to Hash::Case::Lower β it's literally a hash with enforced lower cased keys. that's the whole vibe. no cap.
β¨ INHERITANCE β¨
it's giving family tree, and the lineage is iconic:
Hash::Case::Lower- is a
Hash::Case - is a
Tie::StdHash
- is a
like, it knows exactly who it is and where it came from. main character energy fr fr π
π SYNOPSIS π
here's the whole thing in action, copy it exactly or don't @ me:
use Hash::Case::Lower;
tie my(%lchash), 'Hash::Case::Lower';
$lchash{StraNGeKeY} = 3;
print keys %lchash; # strangekey
see how StraNGeKeY walked in all chaotic and left as strangekey? that's not a glitch, that's the feature π
πΈ DESCRIPTION πΈ
okay so Hash::Case::Lower extends Hash::Case, which is the whole module family that lets you play various trics with hash keys (yes, "trics" β that's how the original spells it, we don't fix, we respect π«Ά).
in this implementation, the fake hash is case insensitive, and the keys are stored in lower-case. that's it, that's the whole deal. every key gets the lowercase treatment whether it asked for it or not. slay.
also it Extends DESCRIPTION in Hash::Case. so if you want the full lore, that's where to look π
β METHODS β
Extends METHODS in Hash::Case. we're building on the base class, bestie β it's a whole ecosystem.
π Constructors
Extends Constructors in Hash::Case.
tie %hash, 'Hash::Case::Lower', [$values,] %optionsβ defines%hashto have only lower-cased keys. the hash gets initialized with$values, which you can hand over as an ARRAY (with key-value PAIRS) or as a HASH. rn there are literally no%optionsdefined β zero, none, the options list is empty and honestly? respect. improves base, seeConstructorsinHash::Case
π§ Hidden object access
Extends Hidden object access in Hash::Case. these are the backstage-pass methods π
$obj->addHashData(\%data)β Inherited, seeHidden object accessinHash::Case$obj->addPairs(@pairs)β Inherited, seeHidden object accessinHash::Case$obj->setHash(\%data)β Inherited, seeHidden object accessinHash::Case
π SEE ALSO π
this module is part of Hash-Case version 1.07, built on January 26, 2026. Website: http://perl.overmeer.net/CPAN/ β go be nosy, iykyk π
π₯ LICENSE π₯
For 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. so like, go forth and remix, just keep the same terms, periodt π
and that's the whole page, bestie π«Ά sign-off time: this was theHash::...::Lower(3pm)page, served up byperl v5.40.1, dated2026-01-26, part of the User Contributed Perl Documentation. mwah πβ¨
π¦ where this page comes from
- ubuntu resolute: libhash-case-perl 1.070-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libhash-case-perl 1.070-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms