Thread Laufende Nummer eines Keys finden
(9 answers)
Opened by bianca at 2011-03-01 13:06 2011-03-01T12:38:53 bianca Natürlich gibt es das: Code (perl): (dl
)
1 2 use List::MoreUtils qw/firstidx/; my $idx = firstidx { $_ eq $test } sort keys %hash; When C++ is your hammer, every problem looks like your thumb.
|