in reply to How to delet file on last 3 month ? ....

It would be nice if you specified things like which OS you are using and if the solution is part of a larger Perl program or you just want to delete files.

A non Perl solution:  find /some/path -mtime +90 -exec rm {} \; or maybe you want to do it with Perl? See perlfunc:stat

--
Do not seek to follow in the footsteps of the wise. Seek what they sought. -Basho