Thread push zu arrayref
(33 answers)
Opened by Froschpopo at 2008-05-10 16:42
hmm, also das funktioniert bei mir nicht:
Das ganze ist ein HTC-Loop: Code (perl): (dl
)
1 2 3 4 while (...) { push @loop, { ID => $id, DATUM => $datum, SPIELER => $spieler } } $param{SPORTART} = \@loop; Nun will ich später eventuell außerhalb der while nochmal Elemente hinzufügen: Code: (dl
)
$param{SPORTART}->[$#$param{SPORTART}+1]->{DATUM} = 3; |