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

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 %hash to 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 %options defined β€” zero, none, the options list is empty and honestly? respect. improves base, see Constructors in Hash::Case

🧚 Hidden object access

Extends Hidden object access in Hash::Case. these are the backstage-pass methods πŸ‘‘

  • $obj->addHashData(\%data) β€” Inherited, see Hidden object access in Hash::Case
  • $obj->addPairs(@pairs) β€” Inherited, see Hidden object access in Hash::Case
  • $obj->setHash(\%data) β€” Inherited, see Hidden object access in Hash::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 the Hash::...::Lower(3pm) page, served up by perl v5.40.1, dated 2026-01-26, part of the User Contributed Perl Documentation. mwah πŸ’‹βœ¨
πŸ“¦ where this page comes from