Thread Array auslesen (22 answers)
Opened by mteffenh at 2010-01-29 11:58

havi
 2010-01-29 12:48
#131483 #131483
User since
2003-08-04
2036 Artikel
BenutzerIn
[Homepage]
user image
2010-01-29T11:19:23 bianca
Code (perl): (dl )
1
2
3
for (my $zz = 0; $zz < scalar @PTage; $zz ++) {
  $hash{$Titel[$zz]}{$Wert[$zz]} = $PTage[$zz];
}


Versuche C-Stil Schleifen zu vermeiden:
Code (perl): (dl )
1
2
3
for my $zz (0 .. scalar @PTage) {
  $hash{$Titel[$zz]}{$Wert[$zz]} = $PTage[$zz];
}

View full thread Array auslesen