Hi all,
Again with this globbing.. I can't see anything about using glob in reverse
order only using nosort.
I'm using this:
my $dir = "./news/*.n";
@files = glob("$dir");
Have having this listing using "ls -l" which is the order that glob seems to
be doing,
Dec 10 16:30 011024.n
Dec 10 16:28 011026.n
Dec 10 16:28 011107.n
Dec 10 19:21 011210.n
Dec 12 16:33 011212.n
Dec 13 10:48 011213.n
Dec 14 14:48 011214.n
Dec 18 13:37 011217.n
but what I need is this (reversed/latest first):
Dec 18 13:37 011217.n
Dec 14 14:48 011214.n
Dec 13 10:48 011213.n
Dec 12 16:33 011212.n
Dec 10 19:21 011210.n
Dec 10 16:28 011107.n
Dec 10 16:28 011026.n
Dec 10 16:30 011024.n
I can't figure out how to use the File::Glob properly.. can anyone help?
thanks,
George Vieira
Systems Manager
Citadel Computer Systems P/L
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug