Hash::Case::Upper(3pm)

Hash::Case::Upper3pm

Native hash with enforced lower cased keys

Usage

  use Hash::Case::Upper;
  tie my(%uchash), 'Hash::Case::Upper';
  $uchash{StraNGeKeY} = 3;
  print keys %uchash;  # STRANGEKEY

Inheritance

 Hash::Case::Upper
   is a Hash::Case
   is a Tie::StdHash

Overview

Hash::Case::Upper extends Hash::Case, which lets you play various trics with hash keys. In this implementation, the fake hash is case insensitive and the keys stored in upper-case.

Extends "DESCRIPTION" in Hash::Case.

Methods

Extends "METHODS" in Hash::Case.

Constructors

Extends "Constructors" in Hash::Case.

tie %hash, 'Hash::Case::Upper', [$values,] %options

Define %hash to have only upper-cased keys. The hash is initialized with the $values, specified as ARRAY or HASH. Currently, there are no %options defined. Improves base, see "Constructors" in Hash::Case

Hidden object access

Extends "Hidden object access" in Hash::Case.

$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

Releases

10 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0–6.0
  2. 7–9
  3. 10
  4. 11
  5. 12–13
  6. Arch

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.

From perl-hash-case 1.07-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.