in reply to Re^4: unlink files
in thread unlink files

What do you think this line does:

my $mod_time = strftime('%M', localtime($time));

Compare this with the documentation of POSIX::strftime and localtime. Tell us where the documentation supports your interpretation.