File::Stat is good for getting the info of the file (i.e. File Last modified date, last accessed date, date created, est.)
and "if Perl 5.8 or higher then use File::stat.".
Good Luck!
Updated: Since your messing with Files you may want to also try
Taint for some security.