Thread Top der der Länder der User (14 answers)
Opened by stb2050 at 2003-08-17 19:37

[E|B]
 2003-08-17 19:58
#59572 #59572
User since
2003-08-08
2561 Artikel
HausmeisterIn
[Homepage] [default_avatar]
Hi!

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
my %hash = ();
foreach my $i (@userdaten){
my ($ort, $land) = split(/\|\|\|/, $i);
$hash{$land}++;
}

my $x = 0;

foreach $i (sort{$a <=> $b} values %hash){
if($x < 10){
print;
$x++;
}
}


HTH
Gruß, Erik!

s))91\&\/\^z->sub{}\(\@new\)=>69\&\/\^z->sub{}\(\@new\)=>124\&\/\^z->sub{}\(\@new\)=>);
$_.=qq~66\&\/\^z->sub{}\(\@new\)=>93~;for(@_=split(/\&\/\^z->sub{}\(\@new\)=>/)){print chr;}

It's not a bug, it's a feature! - [CGI-World.de]

View full thread Top der der Länder der User