Hash::Case::Upper

Section: User Contributed Perl Documentation (3pm)
Updated: 2022-10-13
Index Return to Main Contents
 

NAME

Hash::Case::Upper - native hash with enforced lower cased keys  

INHERITANCE

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

 

SYNOPSIS

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

 

DESCRIPTION

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.
$obj->addHashData(HASH)
Inherited, see ``Constructors'' in Hash::Case
$obj->addPairs(PAIRS)
Inherited, see ``Constructors'' in Hash::Case
$obj->setHash(HASH)
Inherited, see ``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 ref-array or ref-hash. Currently, there are no OPTIONS defined.
 

SEE ALSO

This module is part of Hash-Case distribution version 1.05, built on February 06, 2020. Website: http://perl.overmeer.net/CPAN/  

LICENSE

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/


 

Index

NAME
INHERITANCE
SYNOPSIS
DESCRIPTION
METHODS
Constructors
SEE ALSO
LICENSE

This document was created by man2html, using the manual pages.
Time: 08:30:09 GMT, March 28, 2024