Re: How does opendir/readdir process files

2015-01-14 Thread John SJ Anderson
On Tue, Jan 13, 2015 at 7:40 PM, Brandon McCaig wrote: > Harry: > > (Expect typographical errors in such a long post...) > > tl;dr? RTFM. Please don't tell people that. It's not helpful, it's not a helpful attitude, and it's really not welcome here. The rest of your post may be excellent, but I

Re: How does opendir/readdir process files

2015-01-14 Thread Shawn H Corey
On Tue, 13 Jan 2015 22:40:46 -0500 Brandon McCaig wrote: > my @files = map { $_->[0] } >sort { $a cmp $b } sort { $a->[1] <=> $b->[1] } >map {[$_, (stat("$dir/$_"))[9] ] } >grep { ! /^\./ && -f