| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# -*- Mode: Perl -*- |
|
2
|
|
|
|
|
|
|
# Ausnahme.pm -- |
|
3
|
|
|
|
|
|
|
# Author : Ulrich Pfeifer |
|
4
|
|
|
|
|
|
|
# Created On : Thu Feb 1 09:10:48 1996 |
|
5
|
|
|
|
|
|
|
# Last Modified By: Ulrich Pfeifer |
|
6
|
|
|
|
|
|
|
# Last Modified On: Sun Apr 3 11:42:38 2005 |
|
7
|
|
|
|
|
|
|
# Language : Perl |
|
8
|
|
|
|
|
|
|
# Update Count : 23 |
|
9
|
|
|
|
|
|
|
# Status : Unknown, Use with caution! |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
package Text::German::Ausnahme; |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
{ |
|
14
|
|
|
|
|
|
|
local ($_); |
|
15
|
|
|
|
|
|
|
while () { |
|
16
|
|
|
|
|
|
|
chomp; |
|
17
|
|
|
|
|
|
|
($ausnahme, $key) = split; |
|
18
|
|
|
|
|
|
|
$AUSNAHME{$ausnahme} = $key; |
|
19
|
|
|
|
|
|
|
} |
|
20
|
|
|
|
|
|
|
close DATA; |
|
21
|
|
|
|
|
|
|
} |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub reduce { |
|
24
|
28
|
|
|
28
|
0
|
53
|
my($v,$s,$e) = @_; |
|
25
|
|
|
|
|
|
|
|
|
26
|
28
|
|
|
|
|
44
|
$s = $v.$s; |
|
27
|
28
|
|
|
|
|
41
|
while (1) { # algorithmus unklar |
|
28
|
60
|
100
|
|
|
|
147
|
return $AUSNAHME{$s} if defined $AUSNAHME{$s}; |
|
29
|
58
|
100
|
|
|
|
107
|
last unless $e; |
|
30
|
32
|
|
|
|
|
58
|
$s .= substr($e,0,1); |
|
31
|
32
|
|
|
|
|
48
|
$e = substr($e,1); |
|
32
|
|
|
|
|
|
|
} |
|
33
|
26
|
|
|
|
|
64
|
return undef; |
|
34
|
|
|
|
|
|
|
} |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |
|
37
|
|
|
|
|
|
|
__DATA__ |