From f6b264b55a9aef5c1977a2687c5a778e6ab63881 Mon Sep 17 00:00:00 2001 From: Arne Georg Gleditsch Date: Tue, 4 Dec 2007 13:13:46 +0100 Subject: Descending order. --- lib/LXRng/Repo/Plain.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/LXRng/Repo/Plain.pm b/lib/LXRng/Repo/Plain.pm index 46fb3f4..f39daa5 100644 --- a/lib/LXRng/Repo/Plain.pm +++ b/lib/LXRng/Repo/Plain.pm @@ -21,7 +21,7 @@ sub cache_key { sub allversions { my ($self) = @_; - my @ver = (sort + my @ver = (sort { $b cmp $a } grep { $_ ne "." and $_ ne ".." } map { substr($_, length($$self{'root'})) =~ /([^\/]*)/; $1 } glob($$self{'root'}."*/")); -- cgit v1.2.3