5 Einträge, 1 Seite |
1
2
3
4
5
my @res = (1..4);
$res[1] = qw(1 Gold 100);
$res[2] = qw(2 Holz 100);
$res[3] = qw(3 Stein 100);
$res[4] = qw(4 Eisen 100);
1
2
3
4
5
my @res = (1..4);
$res[1] = [ 1, 'Gold', 100 ];
$res[2] = [ 2, 'Holz', 100];
$res[3] = [ 3, 'Stein', 100];
$res[4] = [ 4, 'Eisen', 100];
1
2
3
4
5
6
push my @res
, [ qw( 1 Gold 100 ) ]
, [ qw( 2 Holz 100 ) ]
, [ qw( 3 Stein 100 ) ]
, [ qw( 4 Eisen 100 ) ]
;
5 Einträge, 1 Seite |