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

If 3 months from the starting time of your program will work (instead of 3 months from the moment you are considering deleting the file), you can use -M, which subtracts script-start-time and converts to days for you:
unlink "$fdir/$file" if 90 > -M "$fdir/$file";
See perldoc -f -M