[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] Ordering two lists



Hi all!
I'm banging my head against the wall... I have a list of filenames and
the relative days-since-last-modification value...
$dir ="Macintosh HD:Desktop Folder:Download";
opendir (DIR, $dir) 
	or die "Non posso accedere a DIR: $!";
	
while (defined(my $nomeFile = readdir (DIR))) {
	$nomeFile = $dir.":".$nomeFile;
	$gg = int (-M $nomeFile);
}

Now, I want to print out a sorted list by days-since-last-modification
of the filenames. How can I do this?
TIA
--
Giorgio Valoti

MagneticMedia Network

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org