Michael G. Schwern [Wed, 30 May 2001 10:24:02 +0000 (11:24 +0100)]
Message-ID: <
20010530102402.Q670@blackrider.blackstar.co.uk>
p4raw-id: //depot/perl@10316
sub _find_tests {
my($dir) = @_;
opendir DIR, $dir || die "Trouble opening $dir: $!";
- foreach my $f (readdir DIR) {
+ foreach my $f (sort { $a cmp $b } readdir DIR) {
next if $f eq $curdir or $f eq $updir;
my $fullpath = File::Spec->catdir($dir, $f);