Thread sortieren
(2 answers)
Opened by Froschpopo at 2006-02-24 19:20
[quote=Froschpopo,24.02.2006, 18:21]
Code: (dl
)
$ref->[2] = sort { $b->[0] cmp $a->[0] }; $ref->[2] = [sort { $b->[0] cmp $a->[0] } @{ $ref->[2] } ];\n\n <!--EDIT|pq|1140807205--> 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 |