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::Upper; |
10
|
1
|
|
|
1
|
|
65997
|
use vars '$VERSION'; |
|
1
|
|
|
|
|
10
|
|
|
1
|
|
|
|
|
66
|
|
11
|
|
|
|
|
|
|
$VERSION = '1.05'; |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
8
|
use base 'Hash::Case'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
429
|
|
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
19
|
|
16
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
17
|
1
|
|
|
1
|
|
5
|
use Carp qw(croak); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
219
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub init($) |
21
|
4
|
|
|
4
|
0
|
8
|
{ my ($self, $args) = @_; |
22
|
|
|
|
|
|
|
|
23
|
4
|
|
|
|
|
16
|
$self->SUPER::native_init($args); |
24
|
|
|
|
|
|
|
|
25
|
4
|
50
|
|
|
|
13
|
croak "no options available for ". __PACKAGE__ |
26
|
|
|
|
|
|
|
if keys %$args; |
27
|
|
|
|
|
|
|
|
28
|
4
|
|
|
|
|
13
|
$self; |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
|
31
|
13
|
|
|
13
|
|
4256
|
sub FETCH($) { $_[0]->{uc $_[1]} } |
32
|
7
|
|
|
7
|
|
3627
|
sub STORE($$) { $_[0]->{uc $_[1]} = $_[2] } |
33
|
1
|
|
|
1
|
|
2763
|
sub EXISTS($) { exists $_[0]->{uc $_[1]} } |
34
|
1
|
|
|
1
|
|
7
|
sub DELETE($) { delete $_[0]->{uc $_[1]} } |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |