|< 1 2 >| | 14 Einträge, 2 Seiten |
$provinces{$key} = \%provincecontent;
my $value = $provinces{$key}{$nocheinkey}
@keys = keys %{$provinces{$key}};
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
%provinces = (
);
$i = 1;
%provincecontent1 = (
name => 0,
troops => 888,
);
$provinces{test1} = \%provincecontent1;
%provincecontent1 = (
name => 1,
troops => 999,
);
$provinces{test2} = \%provincecontent1;
my $value = $provinces{test1}{name};
print $value;
my $value = $provinces{test1}{troops};
print $value;
my $value = $provinces{test2}{name};
print $value;
my $value = $provinces{test2}{troops};
print $value;
{%hash} statt \%hash;
$provinces{test1} = \%provincecontent1;
$provinces{test1} = {%provincecontent1};
|< 1 2 >| | 14 Einträge, 2 Seiten |