Thread Anzahl Keys in einem HASH? (7 answers)
Opened by jgeier at 2009-05-28 18:40

topeg
 2009-05-28 19:45
#122034 #122034
User since
2006-07-10
2611 Artikel
BenutzerIn

user image
Guest robiwan
Code (perl): (dl )
1
2
for (keys %HASH) {$x++};
print "Anzahl der keys von %HASH: $x\n";

hüstel:
Code (perl): (dl )
my $x=keys %HASH;

View full thread Anzahl Keys in einem HASH?