Thread Sort()
(10 answers)
Opened by taikahn22a at 2008-05-08 22:02
[edit] NICHT LESEN, IST KOMPLETTER UNFUG[/edit]
Oops, da fehlte noch das '=' nach dem '%', vor lauter Schlaumeierei, versuch mal Code (perl): (dl
)
my @array3 = sort { $a <=> $b } map { $_ %= 5 } @array; Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it? -- Brian Kernighan: "The Elements of Programming Style"
|