line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# -*- Mode: Perl -*- |
2
|
|
|
|
|
|
|
# ITIID : $ITI$ $Header $__Header$ |
3
|
|
|
|
|
|
|
# Author : Ulrich Pfeifer |
4
|
|
|
|
|
|
|
# Created On : Mon Aug 28 16:37:39 1995 |
5
|
|
|
|
|
|
|
# Last Modified By: Ulrich Pfeifer |
6
|
|
|
|
|
|
|
# Last Modified On: Sun Mar 24 14:21:39 1996 |
7
|
|
|
|
|
|
|
# Language : Perl |
8
|
|
|
|
|
|
|
# Update Count : 5 |
9
|
|
|
|
|
|
|
# Status : Unknown, Use with caution! |
10
|
|
|
|
|
|
|
# |
11
|
|
|
|
|
|
|
# (C) Copyright 1995, Universität Dortmund, all rights reserved. |
12
|
|
|
|
|
|
|
# |
13
|
|
|
|
|
|
|
# HISTORY |
14
|
|
|
|
|
|
|
# |
15
|
|
|
|
|
|
|
# $Locker: pfeifer $ |
16
|
|
|
|
|
|
|
# $Log: Country.pm,v $ |
17
|
|
|
|
|
|
|
# Revision 0.1.1.1 1996/03/25 11:19:18 pfeifer |
18
|
|
|
|
|
|
|
# patch1: |
19
|
|
|
|
|
|
|
# |
20
|
|
|
|
|
|
|
# Revision 1.1 1996/03/24 13:33:52 pfeifer |
21
|
|
|
|
|
|
|
# Initial revision |
22
|
|
|
|
|
|
|
# |
23
|
|
|
|
|
|
|
# |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
package Net::Country; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
while () { |
28
|
|
|
|
|
|
|
chop; |
29
|
|
|
|
|
|
|
($cc, $rest) = split ' ', $_, 2; |
30
|
|
|
|
|
|
|
next unless $cc; |
31
|
|
|
|
|
|
|
$country{$cc} = $rest; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
close (DATA); |
34
|
|
|
|
|
|
|
|
35
|
0
|
0
|
|
0
|
0
|
|
sub Name { $country{uc($_[0])} || $_[0] }; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
__DATA__ |