line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# Copyrights 2002-2003,2007-2012 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.00. |
5
|
1
|
|
|
1
|
|
34598
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
34
|
|
6
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
41
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
package Hash::Case::Upper; |
9
|
1
|
|
|
1
|
|
5
|
use vars '$VERSION'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
76
|
|
10
|
|
|
|
|
|
|
$VERSION = '1.02'; |
11
|
|
|
|
|
|
|
|
12
|
1
|
|
|
1
|
|
5
|
use base 'Hash::Case'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
673
|
|
13
|
|
|
|
|
|
|
|
14
|
1
|
|
|
1
|
|
10
|
use Log::Report 'hash-case'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub init($) |
18
|
4
|
|
|
4
|
0
|
5
|
{ my ($self, $args) = @_; |
19
|
|
|
|
|
|
|
|
20
|
4
|
|
|
|
|
23
|
$self->SUPER::native_init($args); |
21
|
|
|
|
|
|
|
|
22
|
4
|
50
|
|
|
|
16
|
error __x"no options available for {pkg}", pkg => __PACKAGE__ |
23
|
|
|
|
|
|
|
if keys %$args; |
24
|
|
|
|
|
|
|
|
25
|
4
|
|
|
|
|
16
|
$self; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
13
|
|
|
13
|
|
3327
|
sub FETCH($) { $_[0]->{uc $_[1]} } |
29
|
7
|
|
|
7
|
|
2945
|
sub STORE($$) { $_[0]->{uc $_[1]} = $_[2] } |
30
|
1
|
|
|
1
|
|
2166
|
sub EXISTS($) { exists $_[0]->{uc $_[1]} } |
31
|
1
|
|
|
1
|
|
7
|
sub DELETE($) { delete $_[0]->{uc $_[1]} } |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |