I have 3 log files in a directory out of which the names of 2 log files consists of 4 or more dots. Only 1 log filename includes 3 dots eg: aman.deepak.pavan.log. How can I search for that file only(with 3 dots) and move it to a particular Folder using PERL???? Please help.

Just translate to perl. I am using "*.log" for file name pattern, "C:\the folder" as the folder where files are located, and "C:\the other folder" as the folder to which the files are moved. Use appropriate values for these.