Use
glob or
opendir to get the file names. Use regexp match (see
perlretut) to match the UNIX timestamp. Use
localtime and array splicing to determine the date. Use
open,
readline (also
<$filehandle>),
print,
close to manipulate file contents.
Sorry if my advice was wrong.