Thread Anzahl der Schlüssel eines Hashs: %hash
(7 answers)
Opened by Duff at 2007-06-29 17:18
[quote=Duff,29.06.2007, 15:58]
[/quote]
kleiner scherz, oder? merke: Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices" Code: (dl
)
my $anzahl = keys %hash; <!--EDIT|pq|1183129747--> Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wie frage ich & perlintro brian's Leitfaden für jedes Perl-Problem |