Thread Sortierung nach Array
(18 answers)
Opened by bianca at 2012-12-25 18:11
Ich habe mich nicht klar genug ausgedrückt... Ich dache eher an sowas wie
Code (perl): (dl
)
1 2 3 4 5 6 my $sub = 'sub { my ($a, $b) = @_; '; if ($type == NUMERIC) { $sub .= ' $a <=> $b '; } else ... $sub .= '}'; my $sortSub = eval $sub; (ungetestet...) “I’m working on it.”
|