Thread Werte in Hash und gleichzeitig doppelte finden (14 answers)
Opened by rk-ger at 2007-01-01 23:46

pq
 2007-01-08 19:53
#72845 #72845
User since
2003-08-04
12209 Artikel
Admin1
[Homepage]
user image
[quote=opi,08.01.2007, 16:59]Da würde ich lieber sowas wie
Code: (dl )
1
2
      my @array = (0..1000, 0..1000);
     $seen{$string}++ while $string = shift @array;
[/quote]
das ist kaputt. bei 0 hoert deine while-schleife auf.
bitte nochmal.
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: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread Werte in Hash und gleichzeitig doppelte finden