Walt Mankowski on 11 Jan 2004 00:51:40 -0000 |
On Sat, Jan 10, 2004 at 07:06:38PM -0500, mjd-perl-pm@plover.com wrote: > So here's the question: why do we bother with B at all? Why not > always use C? In version 1.8 Ruby added a sort_by method which encapsulates code C: filenames = Dir.entries(".") sorted = filenames.sort_by { |f| File.stat(f).mtime } Walt Attachment:
signature.asc
|
|