logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Hash::Case::Lower - hash with enforced lower cased keys

Description

       Hash::Case::Lower 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 lower-case.

       Extends "DESCRIPTION" in Hash::Case.

Inheritance

        Hash::Case::Lower
          is a Hash::Case
          is a Tie::StdHash

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/

perl v5.36.0                                       2022-10-13                             Hash::Case::Lower(3pm)

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::Lower', [VALUES,] OPTIONS)
           Define  HASH  to  have  only lower cased keys.  The hash is initialized with the VALUES, specified as
           ref-array (with key value pairs) or ref-hash.  Currently, there are no OPTIONS defined.

Name

       Hash::Case::Lower - hash with enforced lower cased keys

See Also

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

Synopsis

        use Hash::Case::Lower;
        tie my(%lchash), 'Hash::Case::Lower';
        $lchash{StraNGeKeY} = 3;
        print keys %lchash;  # strangekey

See Also