in reply to How can I create an array of filenames?

opendir DIR, "$path" or die "Ack! Thpt! : $!\n"; my @list = grep { -M "$path/$_" <=1 } readdir DIR; closedir DIR;

The -M filetest returns the time since the file was last modified in days.

note I hadda modify this after I noticed that it was originally returning files that *hadn't* been modified in over a day.

danger's answer picked up on that =)

Philosophy can be made out of anything. Or less -- Jerry A. Fodor