line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyrights 2002-2020 by [Mark Overmeer ]. |
2
|
|
|
|
|
|
|
# For other contributors see ChangeLog. |
3
|
|
|
|
|
|
|
# See the manual pages for details on the licensing terms. |
4
|
|
|
|
|
|
|
# Pod stripped from pm file by OODoc 2.02. |
5
|
|
|
|
|
|
|
# This code is part of distribution Hash::Case. Meta-POD processed with |
6
|
|
|
|
|
|
|
# OODoc into POD and HTML manual-pages. See README.md |
7
|
|
|
|
|
|
|
# Copyright Mark Overmeer. Licensed under the same terms as Perl itself. |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
package Hash::Case::Lower; |
10
|
1
|
|
|
1
|
|
69584
|
use vars '$VERSION'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
70
|
|
11
|
|
|
|
|
|
|
$VERSION = '1.05'; |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
6
|
use base 'Hash::Case'; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
442
|
|
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
7
|
|
|
1
|
|
|
|
|
20
|
|
16
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
17
|
1
|
|
|
1
|
|
5
|
use Carp qw(croak); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
216
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub init($) |
21
|
3
|
|
|
3
|
0
|
7
|
{ my ($self, $args) = @_; |
22
|
|
|
|
|
|
|
|
23
|
3
|
|
|
|
|
12
|
$self->SUPER::native_init($args); |
24
|
|
|
|
|
|
|
|
25
|
3
|
50
|
|
|
|
12
|
croak "no options possible for ". __PACKAGE__ |
26
|
|
|
|
|
|
|
if keys %$args; |
27
|
|
|
|
|
|
|
|
28
|
3
|
|
|
|
|
9
|
$self; |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
13
|
|
|
13
|
|
3829
|
sub FETCH($) { $_[0]->{lc $_[1]} } |
32
|
6
|
|
|
6
|
|
2576
|
sub STORE($$) { $_[0]->{lc $_[1]} = $_[2] } |
33
|
1
|
|
|
1
|
|
2628
|
sub EXISTS($) { exists $_[0]->{lc $_[1]} } |
34
|
1
|
|
|
1
|
|
8
|
sub DELETE($) { delete $_[0]->{lc $_[1]} } |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |