diff options
author | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2007-12-04 13:13:46 +0100 |
---|---|---|
committer | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2007-12-04 13:13:46 +0100 |
commit | f6b264b55a9aef5c1977a2687c5a778e6ab63881 (patch) | |
tree | 038a2dbb839cb4150b4439da9198ac693ba78e49 | |
parent | 42321d209faa0ba4c93d2523f8644575ea094bba (diff) |
Descending order.
-rw-r--r-- | lib/LXRng/Repo/Plain.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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'}."*/")); |