No subject


Tue Nov 29 10:43:08 WST 2011


# sort numerically descending
@articles = sort {$b <=> $a} @files;

Hope that helps

Carl

> From: Patrick Tehvand [mailto:patrick at perthix.net] 
> 
> 
> I've got another perl question,
> I would like to sort in decending nemerical order based on $id
> This is what I have.
> 



More information about the plug mailing list