Thread Hash mit Zahl als Key? (8 answers)
Opened by mustermann at 2007-09-12 16:32

Taulmarill
 2007-09-13 17:29
#99441 #99441
User since
2004-02-19
1750 Artikel
BenutzerIn

user image
Als slice bezeichnet man einen Teil eines Arrays, der kein einzelnes Element, sondern eine Liste ist. Wenn du also @liste[$i] schreibst, ist das nicht ein Element als scalarer Wert, sondern eine Liste mit einem Element. Daher schlägt warnings auch vor, dass du das als $liste[$i] schreibst.
$_=unpack"B*",~pack"H*",$_ and y&1|0& |#&&print"$_\n"for@.=qw BFA2F7C39139F45F78
0A28104594444504400 0A2F107D54447DE7800 0A2110453444450500 73CF1045138445F4800 0
F3EF2044E3D17DE 8A08A0451412411 F3CF207DF41C79E 820A20451412414 83E93C4513D17D2B

View full thread Hash mit Zahl als Key?